#222F0B#222F0B

#222F0B is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.4% C 0.059 H 126.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#222F0B
RGBrgb(34, 47, 11)
HSLhsl(82, 62%, 11%)
HSVhsv(82, 77%, 18%)
CMYKcmyk(27.7%, 0%, 76.6%, 81.6%)
CIE-LABlab(17.45, -12.48, 20.24)
CIE-LCHlch(17.45, 23.78, 121.65°)
OKLaboklab(28.41% -0.0355 0.0475)
OKLCHoklch(28.41% 0.059 126.8)
XYZxyz(1.7366, 2.3972, 0.6878)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F0B #180B2F
analogous
#2F2A0B #222F0B #102F0B
triadic
#222F0B #0B222F #2F0B22
tetradic
#222F0B #0B2F2A #180B2F #2F0B10
square
#222F0B #0B2F2A #180B2F #2F0B10
split-complementary
#222F0B #0B102F #2A0B2F
monochromatic
#121906 #121906 #222F0B #466117 #6A9222

Accessibility & contrast

On white

14.19
#222F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#222F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F0B
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F0B#FFFFFF#000000##FFFFFF
##222F0B1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B07
Deuteranopia (green-blind)
#302B0E
Tritanopia (blue-blind)
#242C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222f0b;
/* rgb */ color: rgb(34, 47, 11);
/* oklch */ color: oklch(28.4% 0.059 126.8);
Tailwind
colors: {
  custom: {
    50: '#5e674c',
    500: '#222f0b',
    950: '#000000',
  },
}
SCSS
$custom: #222f0b;
$custom-light: #5e674c;
$custom-dark: #000000;
JSON
{
  "hex": "#222f0b",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 81.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28408,
    "c": 0.05931,
    "h": 126.8
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#222F0B
secondary
#422A6B
accent
#43E57D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #222F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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