#223908#223908

#223908 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.4% C 0.078 H 131.8°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#223908
RGBrgb(34, 57, 8)
HSLhsl(88, 75%, 13%)
HSVhsv(88, 86%, 22%)
CMYKcmyk(40.4%, 0%, 86%, 77.6%)
CIE-LABlab(21.15, -18.34, 25.74)
CIE-LCHlch(21.15, 31.61, 125.48°)
OKLaboklab(31.41% -0.0519 0.0581)
OKLCHoklch(31.41% 0.078 131.8)
XYZxyz(2.1666, 3.2838, 0.7494)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223908 #1F0839
analogous
#393708 #223908 #0A3908
triadic
#223908 #082239 #390822
tetradic
#223908 #083937 #1F0839 #39080A
square
#223908 #083937 #1F0839 #39080A
split-complementary
#223908 #080A39 #370839
monochromatic
#101B04 #101B04 #223908 #426F10 #62A417

Accessibility & contrast

On white

12.68
#223908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#223908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223908
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223908#FFFFFF#000000##FFFFFF
##2239081.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3402
Deuteranopia (green-blind)
#39320D
Tritanopia (blue-blind)
#233630
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #223908;
/* rgb */ color: rgb(34, 57, 8);
/* oklch */ color: oklch(31.4% 0.078 131.8);
Tailwind
colors: {
  custom: {
    50: '#606f4c',
    500: '#223908',
    950: '#000000',
  },
}
SCSS
$custom: #223908;
$custom-light: #606f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#223908",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 88.163,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31406,
    "c": 0.07787,
    "h": 131.8
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#223908
secondary
#4C2578
accent
#36F28E
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223908

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

Preview Lab → · Contrast checker → · Palette generator →

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