#223C0F#223C0F

#223C0F is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.077 H 134.5°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#223C0F
RGBrgb(34, 60, 15)
HSLhsl(95, 60%, 15%)
HSVhsv(95, 75%, 24%)
CMYKcmyk(43.3%, 0%, 75%, 76.5%)
CIE-LABlab(22.32, -19.29, 23.87)
CIE-LCHlch(22.32, 30.69, 128.94°)
OKLaboklab(32.39% -0.0538 0.0548)
OKLCHoklch(32.39% 0.077 134.5)
XYZxyz(2.3617, 3.6062, 1.0235)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C0F #290F3C
analogous
#393C0F #223C0F #0F3C13
triadic
#223C0F #0F223C #3C0F22
tetradic
#223C0F #0F393C #290F3C #3C130F
square
#223C0F #0F393C #290F3C #3C130F
split-complementary
#223C0F #130F3C #3C0F39
monochromatic
#0E1806 #0E1806 #223C0F #3E6D1B #599E27

Accessibility & contrast

On white

12.20
#223C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223C0F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C0F#FFFFFF#000000##FFFFFF
##223C0F1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3709
Deuteranopia (green-blind)
#3B3513
Tritanopia (blue-blind)
#223933
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #223c0f;
/* rgb */ color: rgb(34, 60, 15);
/* oklch */ color: oklch(32.4% 0.077 134.5);
Tailwind
colors: {
  custom: {
    50: '#607250',
    500: '#223c0f',
    950: '#000000',
  },
}
SCSS
$custom: #223c0f;
$custom-light: #607250;
$custom-dark: #000000;
JSON
{
  "hex": "#223c0f",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 15
  },
  "hsl": {
    "h": 94.667,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32387,
    "c": 0.07678,
    "h": 134.5
  },
  "luminance": 0.03606
}

Semantic roles & 50–950 ramp

primary
#223C0F
secondary
#593076
accent
#45E3A0
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050802
muted
#797B78

Preview Lab

Preview with #223C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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