#224908#224908

#224908 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.3% C 0.101 H 136.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#224908
RGBrgb(34, 73, 8)
HSLhsl(96, 80%, 16%)
HSVhsv(96, 89%, 29%)
CMYKcmyk(53.4%, 0%, 89%, 71.4%)
CIE-LABlab(27.08, -26.18, 31.63)
CIE-LCHlch(27.08, 41.06, 129.62°)
OKLaboklab(36.27% -0.073 0.0699)
OKLCHoklch(36.27% 0.101 136.2)
XYZxyz(3.0860, 5.1225, 1.0558)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224908 #2F0849
analogous
#424908 #224908 #08490E
triadic
#224908 #082249 #490822
tetradic
#224908 #084249 #2F0849 #490E08
square
#224908 #084249 #2F0849 #490E08
split-complementary
#224908 #0E0849 #490842
monochromatic
#0D1C03 #0D1C03 #224908 #3C800E #55B714

Accessibility & contrast

On white

10.37
#224908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#224908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224908
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224908#FFFFFF#000000##FFFFFF
##2249081.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#473F10
Tritanopia (blue-blind)
#20463D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #224908;
/* rgb */ color: rgb(34, 73, 8);
/* oklch */ color: oklch(36.3% 0.101 136.2);
Tailwind
colors: {
  custom: {
    50: '#627c4e',
    500: '#224908',
    950: '#000000',
  },
}
SCSS
$custom: #224908;
$custom-light: #627c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#224908",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 8
  },
  "hsl": {
    "h": 96,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36269,
    "c": 0.10105,
    "h": 136.2
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#224908
secondary
#602687
accent
#31F7A8
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #224908

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#224908 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva