#223808#223808

#223808 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.076 H 131.3°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#223808
RGBrgb(34, 56, 8)
HSLhsl(88, 75%, 13%)
HSVhsv(88, 86%, 22%)
CMYKcmyk(39.3%, 0%, 85.7%, 78%)
CIE-LABlab(20.77, -17.81, 25.33)
CIE-LCHlch(20.77, 30.97, 125.11°)
OKLaboklab(31.1% -0.0504 0.0573)
OKLCHoklch(31.1% 0.076 131.3)
XYZxyz(2.1177, 3.1859, 0.7330)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223808 #1E0838
analogous
#383608 #223808 #0A3808
triadic
#223808 #082238 #380822
tetradic
#223808 #083836 #1E0838 #38080A
square
#223808 #083836 #1E0838 #38080A
split-complementary
#223808 #080A38 #360838
monochromatic
#101B04 #101B04 #223808 #436E10 #63A317

Accessibility & contrast

On white

12.83
#223808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#223808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223808
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223808#FFFFFF#000000##FFFFFF
##2238081.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3302
Deuteranopia (green-blind)
#38310D
Tritanopia (blue-blind)
#23352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #223808;
/* rgb */ color: rgb(34, 56, 8);
/* oklch */ color: oklch(31.1% 0.076 131.3);
Tailwind
colors: {
  custom: {
    50: '#5f6e4b',
    500: '#223808',
    950: '#000000',
  },
}
SCSS
$custom: #223808;
$custom-light: #5f6e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#223808",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 8
  },
  "hsl": {
    "h": 87.5,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31102,
    "c": 0.07635,
    "h": 131.3
  },
  "luminance": 0.03186
}

Semantic roles & 50–950 ramp

primary
#223808
secondary
#4A2577
accent
#36F28C
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223808

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

Preview Lab → · Contrast checker → · Palette generator →

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