#223A0C#223A0C

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

Color values

HEX#223A0C
RGBrgb(34, 58, 12)
HSLhsl(91, 66%, 14%)
HSVhsv(91, 79%, 23%)
CMYKcmyk(41.4%, 0%, 79.3%, 77.3%)
CIE-LABlab(21.55, -18.53, 24.51)
CIE-LCHlch(21.55, 30.72, 127.09°)
OKLaboklab(31.75% -0.052 0.0558)
OKLCHoklch(31.75% 0.076 133)
XYZxyz(2.2391, 3.3926, 0.8846)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223A0C #240C3A
analogous
#393A0C #223A0C #0C3A0D
triadic
#223A0C #0C223A #3A0C22
tetradic
#223A0C #0C393A #240C3A #3A0D0C
square
#223A0C #0C393A #240C3A #3A0D0C
split-complementary
#223A0C #0D0C3A #3A0C39
monochromatic
#0F1905 #0F1905 #223A0C #406D16 #5D9F21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##223A0C#FFFFFF#000000##FFFFFF
##223A0C1.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)
#3D3506
Deuteranopia (green-blind)
#393310
Tritanopia (blue-blind)
#223731
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #223a0c;
/* rgb */ color: rgb(34, 58, 12);
/* oklch */ color: oklch(31.7% 0.076 133.0);
Tailwind
colors: {
  custom: {
    50: '#5f704e',
    500: '#223a0c',
    950: '#000000',
  },
}
SCSS
$custom: #223a0c;
$custom-light: #5f704e;
$custom-dark: #000000;
JSON
{
  "hex": "#223a0c",
  "rgb": {
    "r": 34,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 91.304,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31748,
    "c": 0.07623,
    "h": 133
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#223A0C
secondary
#532C76
accent
#3FE998
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #223A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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