#228317

A color in the Green family

#228317 is a color in the Green family: RGB(34, 131, 23), HSL(114°, 70%, 30%), CMYK(74%, 0%, 82%, 49%). Closest named color: green. Contrast is 4.85:1 on white and 4.33:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#228317
RGBrgb(34 131 23)
RGB (legacy)rgb(34, 131, 23)
RGB %rgb(13% 51% 9%)
HSLhsl(114 70% 30%)
HSV / HSBhsv(114, 82%, 51%)
HWBhwb(114 9% 49%)
CMYKcmyk(74%, 0%, 82%, 49%)
CIELAB (D50)lab(47.85 -43.8 45.05)
LCHlch(47.85 62.83 134.19)
OKLaboklab(0.5344 -0.13 0.1025)
OKLCHoklch(0.5344 0.1655 141.73)
Decimal2261783

Properties

Color ToneGreen
Closest named colorgreen ΔE 1.9
Closest web-safe color#339900
Hue114°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)30%
Brightness or Value (HSV)51%
Luminance (Rec.601 / Rec.709)35% / 40%
Relative luminance (WCAG)0.1663
Red / Green / Blue34 / 131 / 23

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.85:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.33: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 73.2 / -28.5 · As background with white / black text: Lc -78.6 / 30.9

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: #228317;
  --color-brand-oklch: oklch(53.44% 0.1655 141.73);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(34 131 23 / 50%); }
/* Tailwind CSS */
<div class="bg-[#228317] text-[#228317] border-[#228317]">