#223D0F#223D0F

#223D0F is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.7% C 0.078 H 134.8°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#223D0F
RGBrgb(34, 61, 15)
HSLhsl(95, 61%, 15%)
HSVhsv(95, 75%, 24%)
CMYKcmyk(44.3%, 0%, 75.4%, 76.1%)
CIE-LABlab(22.70, -19.80, 24.27)
CIE-LCHlch(22.70, 31.32, 129.22°)
OKLaboklab(32.69% -0.0552 0.0557)
OKLCHoklch(32.69% 0.078 134.8)
XYZxyz(2.4146, 3.7119, 1.0411)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D0F #2A0F3D
analogous
#393D0F #223D0F #0F3D13
triadic
#223D0F #0F223D #3D0F22
tetradic
#223D0F #0F393D #2A0F3D #3D130F
square
#223D0F #0F393D #2A0F3D #3D130F
split-complementary
#223D0F #130F3D #3D0F39
monochromatic
#0E1906 #0E1906 #223D0F #3D6E1B #599F27

Accessibility & contrast

On white

12.05
#223D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223D0F
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D0F#FFFFFF#000000##FFFFFF
##223D0F1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403809
Deuteranopia (green-blind)
#3C3513
Tritanopia (blue-blind)
#223A34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #223d0f;
/* rgb */ color: rgb(34, 61, 15);
/* oklch */ color: oklch(32.7% 0.078 134.8);
Tailwind
colors: {
  custom: {
    50: '#607250',
    500: '#223d0f',
    950: '#000000',
  },
}
SCSS
$custom: #223d0f;
$custom-light: #607250;
$custom-dark: #000000;
JSON
{
  "hex": "#223d0f",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 15
  },
  "hsl": {
    "h": 95.217,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3269,
    "c": 0.07838,
    "h": 134.8
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#223D0F
secondary
#5A3077
accent
#44E4A2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050802
muted
#797B78

Preview Lab

Preview with #223D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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