#222F04#222F04

#222F04 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.3% C 0.066 H 125.2°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#222F04
RGBrgb(34, 47, 4)
HSLhsl(78, 84%, 10%)
HSVhsv(78, 91%, 18%)
CMYKcmyk(27.7%, 0%, 91.5%, 81.6%)
CIE-LABlab(17.38, -13.15, 23.02)
CIE-LCHlch(17.38, 26.51, 119.74°)
OKLaboklab(28.33% -0.0383 0.0541)
OKLCHoklch(28.33% 0.066 125.2)
XYZxyz(1.6981, 2.3819, 0.4851)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F04 #11042F
analogous
#2F2704 #222F04 #0C2F04
triadic
#222F04 #04222F #2F0422
tetradic
#222F04 #042F27 #11042F #2F040C
square
#222F04 #042F27 #11042F #2F040C
split-complementary
#222F04 #040C2F #27042F
monochromatic
#141C02 #141C02 #222F04 #4B6709 #74A00E

Accessibility & contrast

On white

14.22
#222F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F04
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F04#FFFFFF#000000##FFFFFF
##222F041.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222f04;
/* rgb */ color: rgb(34, 47, 4);
/* oklch */ color: oklch(28.3% 0.066 125.2);
Tailwind
colors: {
  custom: {
    50: '#5e6749',
    500: '#222f04',
    950: '#000000',
  },
}
SCSS
$custom: #222f04;
$custom-light: #5e6749;
$custom-dark: #000000;
JSON
{
  "hex": "#222f04",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 78.14,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.28327,
    "c": 0.06629,
    "h": 125.2
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#222F04
secondary
#371D72
accent
#2DFB6B
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #222F04

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

Preview Lab → · Contrast checker → · Palette generator →

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