#223A0D#223A0D

#223A0D is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.8% C 0.075 H 133.2°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#223A0D
RGBrgb(34, 58, 13)
HSLhsl(92, 63%, 14%)
HSVhsv(92, 78%, 23%)
CMYKcmyk(41.4%, 0%, 77.6%, 77.3%)
CIE-LABlab(21.56, -18.44, 24.05)
CIE-LCHlch(21.56, 30.30, 127.47°)
OKLaboklab(31.76% -0.0516 0.0549)
OKLCHoklch(31.76% 0.075 133.2)
XYZxyz(2.2454, 3.3952, 0.9177)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A0D #250D3A
analogous
#393A0D #223A0D #0D3A0F
triadic
#223A0D #0D223A #3A0D22
tetradic
#223A0D #0D393A #250D3A #3A0F0D
square
#223A0D #0D393A #250D3A #3A0F0D
split-complementary
#223A0D #0F0D3A #3A0D39
monochromatic
#0F1906 #0F1906 #223A0D #3F6C18 #5D9E23

Accessibility & contrast

On white

12.51
#223A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223A0D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223A0D#FFFFFF#000000##FFFFFF
##223A0D1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3507
Deuteranopia (green-blind)
#393311
Tritanopia (blue-blind)
#223731
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #223a0d;
/* rgb */ color: rgb(34, 58, 13);
/* oklch */ color: oklch(31.8% 0.075 133.2);
Tailwind
colors: {
  custom: {
    50: '#5f704e',
    500: '#223a0d',
    950: '#000000',
  },
}
SCSS
$custom: #223a0d;
$custom-light: #5f704e;
$custom-dark: #000000;
JSON
{
  "hex": "#223a0d",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 13
  },
  "hsl": {
    "h": 92,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31758,
    "c": 0.07538,
    "h": 133.2
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#223A0D
secondary
#542D76
accent
#41E699
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050702
muted
#797A78

Preview Lab

Preview with #223A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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