#222F0E#222F0E

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

Color values

HEX#222F0E
RGBrgb(34, 47, 14)
HSLhsl(84, 54%, 12%)
HSVhsv(84, 70%, 18%)
CMYKcmyk(27.7%, 0%, 70.2%, 81.6%)
CIE-LABlab(17.48, -12.15, 18.88)
CIE-LCHlch(17.48, 22.46, 122.77°)
OKLaboklab(28.45% -0.0343 0.0445)
OKLCHoklch(28.45% 0.056 127.6)
XYZxyz(1.7555, 2.4048, 0.7871)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F0E #1B0E2F
analogous
#2F2C0E #222F0E #122F0E
triadic
#222F0E #0E222F #2F0E22
tetradic
#222F0E #0E2F2C #1B0E2F #2F0E12
square
#222F0E #0E2F2C #1B0E2F #2F0E12
split-complementary
#222F0E #0E122F #2C0E2F
monochromatic
#111807 #111807 #222F0E #445E1C #668D2A

Accessibility & contrast

On white

14.18
#222F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F0E
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F0E#FFFFFF#000000##FFFFFF
##222F0E1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B0B
Deuteranopia (green-blind)
#302B10
Tritanopia (blue-blind)
#232D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222f0e;
/* rgb */ color: rgb(34, 47, 14);
/* oklch */ color: oklch(28.4% 0.056 127.6);
Tailwind
colors: {
  custom: {
    50: '#5e674e',
    500: '#222f0e',
    950: '#000000',
  },
}
SCSS
$custom: #222f0e;
$custom-light: #5e674e;
$custom-dark: #000000;
JSON
{
  "hex": "#222f0e",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 83.636,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28447,
    "c": 0.05614,
    "h": 127.6
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#222F0E
secondary
#462F69
accent
#4ADD84
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #222F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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