#223C0B#223C0B

#223C0B is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.3% C 0.080 H 133.5°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#223C0B
RGBrgb(34, 60, 11)
HSLhsl(92, 69%, 14%)
HSVhsv(92, 82%, 24%)
CMYKcmyk(43.3%, 0%, 81.7%, 76.5%)
CIE-LABlab(22.29, -19.66, 25.73)
CIE-LCHlch(22.29, 32.39, 127.38°)
OKLaboklab(32.35% -0.0552 0.0582)
OKLCHoklch(32.35% 0.08 133.5)
XYZxyz(2.3359, 3.5959, 0.8875)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C0B #250B3C
analogous
#3B3C0B #223C0B #0B3C0D
triadic
#223C0B #0B223C #3C0B22
tetradic
#223C0B #0B3B3C #250B3C #3C0D0B
square
#223C0B #0B3B3C #250B3C #3C0D0B
split-complementary
#223C0B #0D0B3C #3C0B3B
monochromatic
#0F1A05 #0F1A05 #223C0B #3F7014 #5DA31E

Accessibility & contrast

On white

12.21
#223C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#223C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C0B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C0B#FFFFFF#000000##FFFFFF
##223C0B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3704
Deuteranopia (green-blind)
#3B3510
Tritanopia (blue-blind)
#223932
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #223c0b;
/* rgb */ color: rgb(34, 60, 11);
/* oklch */ color: oklch(32.3% 0.080 133.5);
Tailwind
colors: {
  custom: {
    50: '#60724d',
    500: '#223c0b',
    950: '#000000',
  },
}
SCSS
$custom: #223c0b;
$custom-light: #60724d;
$custom-dark: #000000;
JSON
{
  "hex": "#223c0b",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 11
  },
  "hsl": {
    "h": 91.837,
    "s": 69.014,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32345,
    "c": 0.08015,
    "h": 133.5
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#223C0B
secondary
#542A79
accent
#3CEC99
background
#F5F6F4
surface
#EAECE7
border
#C6C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #223C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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