#222F01#222F01

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

Color values

HEX#222F01
RGBrgb(34, 47, 1)
HSLhsl(77, 96%, 9%)
HSVhsv(77, 98%, 18%)
CMYKcmyk(27.7%, 0%, 97.9%, 81.6%)
CIE-LABlab(17.34, -13.44, 24.20)
CIE-LCHlch(17.34, 27.68, 119.04°)
OKLaboklab(28.29% -0.0395 0.0572)
OKLCHoklch(28.29% 0.07 124.7)
XYZxyz(1.6817, 2.3753, 0.3986)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F01 #0E012F
analogous
#2F2501 #222F01 #0B2F01
triadic
#222F01 #01222F #2F0122
tetradic
#222F01 #012F25 #0E012F #2F010B
square
#222F01 #012F25 #0E012F #2F010B
split-complementary
#222F01 #010B2F #25012F
monochromatic
#161E01 #161E01 #222F01 #4D6B02 #79A704

Accessibility & contrast

On white

14.24
#222F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F01
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F01#FFFFFF#000000##FFFFFF
##222F011.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#312A04
Tritanopia (blue-blind)
#242C26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222f01;
/* rgb */ color: rgb(34, 47, 1);
/* oklch */ color: oklch(28.3% 0.070 124.7);
Tailwind
colors: {
  custom: {
    50: '#5e6747',
    500: '#222f01',
    950: '#000000',
  },
}
SCSS
$custom: #222f01;
$custom-light: #5e6747;
$custom-dark: #000000;
JSON
{
  "hex": "#222f01",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 1
  },
  "hsl": {
    "h": 76.957,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28292,
    "c": 0.06951,
    "h": 124.7
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#222F01
secondary
#321775
accent
#29FF65
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #222F01

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

Preview Lab → · Contrast checker → · Palette generator →

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