#223708#223708

#223708 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.8% C 0.075 H 130.9°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#223708
RGBrgb(34, 55, 8)
HSLhsl(87, 75%, 12%)
HSVhsv(87, 85%, 22%)
CMYKcmyk(38.2%, 0%, 85.5%, 78.4%)
CIE-LABlab(20.40, -17.27, 24.92)
CIE-LCHlch(20.40, 30.32, 124.73°)
OKLaboklab(30.8% -0.049 0.0566)
OKLCHoklch(30.8% 0.075 130.9)
XYZxyz(2.0697, 3.0899, 0.7170)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223708 #1D0837
analogous
#373508 #223708 #0A3708
triadic
#223708 #082237 #370822
tetradic
#223708 #083735 #1D0837 #37080A
square
#223708 #083735 #1D0837 #37080A
split-complementary
#223708 #080A37 #350837
monochromatic
#111B04 #111B04 #223708 #436C10 #64A218

Accessibility & contrast

On white

12.98
#223708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#223708 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223708
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223708#FFFFFF#000000##FFFFFF
##2237081.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3202
Deuteranopia (green-blind)
#37310C
Tritanopia (blue-blind)
#23342E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #223708;
/* rgb */ color: rgb(34, 55, 8);
/* oklch */ color: oklch(30.8% 0.075 130.9);
Tailwind
colors: {
  custom: {
    50: '#5f6e4b',
    500: '#223708',
    950: '#000000',
  },
}
SCSS
$custom: #223708;
$custom-light: #5f6e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#223708",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 8
  },
  "hsl": {
    "h": 86.809,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30797,
    "c": 0.07481,
    "h": 130.9
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#223708
secondary
#492576
accent
#37F18A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223708

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

Preview Lab → · Contrast checker → · Palette generator →

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