#223F0B#223F0B

#223F0B is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.085 H 134.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#223F0B
RGBrgb(34, 63, 11)
HSLhsl(93, 70%, 15%)
HSVhsv(93, 83%, 25%)
CMYKcmyk(46%, 0%, 82.5%, 75.3%)
CIE-LABlab(23.40, -21.19, 26.88)
CIE-LCHlch(23.40, 34.23, 128.24°)
OKLaboklab(33.26% -0.0593 0.0605)
OKLCHoklch(33.26% 0.085 134.4)
XYZxyz(2.4975, 3.9191, 0.9414)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223F0B #280B3F
analogous
#3C3F0B #223F0B #0B3F0E
triadic
#223F0B #0B223F #3F0B22
tetradic
#223F0B #0B3C3F #280B3F #3F0E0B
square
#223F0B #0B3C3F #280B3F #3F0E0B
split-complementary
#223F0B #0E0B3F #3F0B3C
monochromatic
#0E1A05 #0E1A05 #223F0B #3E7314 #5AA71D

Accessibility & contrast

On white

11.77
#223F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#223F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223F0B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223F0B#FFFFFF#000000##FFFFFF
##223F0B1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423904
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#223C35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223f0b;
/* rgb */ color: rgb(34, 63, 11);
/* oklch */ color: oklch(33.3% 0.085 134.4);
Tailwind
colors: {
  custom: {
    50: '#60744e',
    500: '#223f0b',
    950: '#000000',
  },
}
SCSS
$custom: #223f0b;
$custom-light: #60744e;
$custom-dark: #000000;
JSON
{
  "hex": "#223f0b",
  "rgb": {
    "r": 34,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 93.462,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33257,
    "c": 0.08472,
    "h": 134.4
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#223F0B
secondary
#582A7C
accent
#3BED9E
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #223F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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