#222F0F#222F0F

#222F0F is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.055 H 128.0°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#222F0F
RGBrgb(34, 47, 15)
HSLhsl(84, 52%, 12%)
HSVhsv(84, 68%, 18%)
CMYKcmyk(27.7%, 0%, 68.1%, 81.6%)
CIE-LABlab(17.50, -12.04, 18.38)
CIE-LCHlch(17.50, 21.97, 123.22°)
OKLaboklab(28.46% -0.0338 0.0434)
OKLCHoklch(28.46% 0.055 128)
XYZxyz(1.7624, 2.4076, 0.8237)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F0F #1C0F2F
analogous
#2F2C0F #222F0F #122F0F
triadic
#222F0F #0F222F #2F0F22
tetradic
#222F0F #0F2F2C #1C0F2F #2F0F12
square
#222F0F #0F2F2C #1C0F2F #2F0F12
split-complementary
#222F0F #0F122F #2C0F2F
monochromatic
#111707 #111707 #222F0F #445D1E #658C2D

Accessibility & contrast

On white

14.17
#222F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F0F
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F0F#FFFFFF#000000##FFFFFF
##222F0F1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222f0f;
/* rgb */ color: rgb(34, 47, 15);
/* oklch */ color: oklch(28.5% 0.055 128.0);
Tailwind
colors: {
  custom: {
    50: '#5e674e',
    500: '#222f0f',
    950: '#000000',
  },
}
SCSS
$custom: #222f0f;
$custom-light: #5e674e;
$custom-dark: #000000;
JSON
{
  "hex": "#222f0f",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 84.375,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28462,
    "c": 0.055,
    "h": 128
  },
  "luminance": 0.02408
}

Semantic roles & 50–950 ramp

primary
#222F0F
secondary
#483169
accent
#4DDB87
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #222F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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