#222F0A#222F0A

#222F0A is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.4% C 0.060 H 126.5°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#222F0A
RGBrgb(34, 47, 10)
HSLhsl(81, 65%, 11%)
HSVhsv(81, 79%, 18%)
CMYKcmyk(27.7%, 0%, 78.7%, 81.6%)
CIE-LABlab(17.44, -12.58, 20.65)
CIE-LCHlch(17.44, 24.18, 121.34°)
OKLaboklab(28.4% -0.0359 0.0484)
OKLCHoklch(28.4% 0.06 126.5)
XYZxyz(1.7310, 2.3950, 0.6582)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F0A #170A2F
analogous
#2F290A #222F0A #0F2F0A
triadic
#222F0A #0A222F #2F0A22
tetradic
#222F0A #0A2F29 #170A2F #2F0A0F
square
#222F0A #0A2F29 #170A2F #2F0A0F
split-complementary
#222F0A #0A0F2F #290A2F
monochromatic
#121905 #121905 #222F0A #476115 #6B941F

Accessibility & contrast

On white

14.20
#222F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F0A
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F0A#FFFFFF#000000##FFFFFF
##222F0A1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222f0a;
/* rgb */ color: rgb(34, 47, 10);
/* oklch */ color: oklch(28.4% 0.060 126.5);
Tailwind
colors: {
  custom: {
    50: '#5e674c',
    500: '#222f0a',
    950: '#000000',
  },
}
SCSS
$custom: #222f0a;
$custom-light: #5e674c;
$custom-dark: #000000;
JSON
{
  "hex": "#222f0a",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 81.081,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28396,
    "c": 0.06028,
    "h": 126.5
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#222F0A
secondary
#40296C
accent
#40E87B
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #222F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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