#223A08#223A08

#223A08 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.7% C 0.079 H 132.2°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#223A08
RGBrgb(34, 58, 8)
HSLhsl(89, 76%, 13%)
HSVhsv(89, 86%, 23%)
CMYKcmyk(41.4%, 0%, 86.2%, 77.3%)
CIE-LABlab(21.52, -18.87, 26.15)
CIE-LCHlch(21.52, 32.24, 125.82°)
OKLaboklab(31.71% -0.0533 0.0589)
OKLCHoklch(31.71% 0.079 132.2)
XYZxyz(2.2165, 3.3836, 0.7660)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A08 #20083A
analogous
#3A3908 #223A08 #093A08
triadic
#223A08 #08223A #3A0822
tetradic
#223A08 #083A39 #20083A #3A0809
square
#223A08 #083A39 #20083A #3A0809
split-complementary
#223A08 #08093A #39083A
monochromatic
#101B04 #101B04 #223A08 #42700F #61A617

Accessibility & contrast

On white

12.52
#223A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#223A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223A08
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A08#FFFFFF#000000##FFFFFF
##223A081.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3502
Deuteranopia (green-blind)
#3A330D
Tritanopia (blue-blind)
#233730
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #223a08;
/* rgb */ color: rgb(34, 58, 8);
/* oklch */ color: oklch(31.7% 0.079 132.2);
Tailwind
colors: {
  custom: {
    50: '#60704c',
    500: '#223a08',
    950: '#000000',
  },
}
SCSS
$custom: #223a08;
$custom-light: #60704c;
$custom-dark: #000000;
JSON
{
  "hex": "#223a08",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 88.8,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.3171,
    "c": 0.07939,
    "h": 132.2
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#223A08
secondary
#4D2579
accent
#35F290
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223A08

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

Preview Lab → · Contrast checker → · Palette generator →

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