#227C19

A color in the Green family

#227c19 is a color in the Green family: RGB(34, 124, 25), HSL(115°, 66%, 29%), CMYK(73%, 0%, 80%, 51%). Closest named color: green. Contrast is 5.3:1 on white and 3.97:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#227c19
RGBrgb(34 124 25)
RGB (legacy)rgb(34, 124, 25)
RGB %rgb(13% 49% 10%)
HSLhsl(115 66% 29%)
HSV / HSBhsv(115, 80%, 49%)
HWBhwb(115 10% 51%)
CMYKcmyk(73%, 0%, 80%, 51%)
CIELAB (D50)lab(45.45 -41.47 42.19)
LCHlch(45.45 59.16 134.51)
OKLaboklab(0.5145 -0.123 0.0966)
OKLCHoklch(0.5145 0.1564 141.84)
Decimal2259993

Properties

Color ToneGreen
Closest named colorgreen ΔE 2.1
Closest web-safe color#336600
Hue115°
Saturation (HSL / HSV)66% / 80%
Lightness (HSL)29%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)34% / 38%
Relative luminance (WCAG)0.1483
Red / Green / Blue34 / 124 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.30:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.97:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 75.9 / -25.9 · As background with white / black text: Lc -81.2 / 28.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #227c19;
  --color-brand-oklch: oklch(51.45% 0.1564 141.84);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(34 124 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#227c19] text-[#227c19] border-[#227c19]">