#223D08#223D08

#223D08 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.6% C 0.084 H 133.2°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#223D08
RGBrgb(34, 61, 8)
HSLhsl(91, 77%, 14%)
HSVhsv(91, 87%, 24%)
CMYKcmyk(44.3%, 0%, 86.9%, 76.1%)
CIE-LABlab(22.64, -20.42, 27.33)
CIE-LCHlch(22.64, 34.11, 126.76°)
OKLaboklab(32.62% -0.0575 0.0611)
OKLCHoklch(32.62% 0.084 133.2)
XYZxyz(2.3722, 3.6950, 0.8179)
Luminance0.0369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D08 #23083D
analogous
#3C3D08 #223D08 #083D08
triadic
#223D08 #08223D #3D0822
tetradic
#223D08 #083C3D #23083D #3D0808
square
#223D08 #083C3D #23083D #3D0808
split-complementary
#223D08 #08083D #3D083C
monochromatic
#0F1B04 #0F1B04 #223D08 #40730F #5EA916

Accessibility & contrast

On white

12.08
#223D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#223D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D08
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D08#FFFFFF#000000##FFFFFF
##223D081.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403701
Deuteranopia (green-blind)
#3C350D
Tritanopia (blue-blind)
#223A33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #223d08;
/* rgb */ color: rgb(34, 61, 8);
/* oklch */ color: oklch(32.6% 0.084 133.2);
Tailwind
colors: {
  custom: {
    50: '#60724c',
    500: '#223d08',
    950: '#000000',
  },
}
SCSS
$custom: #223d08;
$custom-light: #60724c;
$custom-dark: #000000;
JSON
{
  "hex": "#223d08",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 90.566,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32623,
    "c": 0.08389,
    "h": 133.2
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#223D08
secondary
#51257C
accent
#34F396
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #223D08

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

Preview Lab → · Contrast checker → · Palette generator →

#223D08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva