#222F02#222F02

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

Color values

HEX#222F02
RGBrgb(34, 47, 2)
HSLhsl(77, 92%, 10%)
HSVhsv(77, 96%, 18%)
CMYKcmyk(27.7%, 0%, 95.7%, 81.6%)
CIE-LABlab(17.36, -13.34, 23.81)
CIE-LCHlch(17.36, 27.29, 119.27°)
OKLaboklab(28.3% -0.0391 0.0562)
OKLCHoklch(28.3% 0.068 124.9)
XYZxyz(1.6872, 2.3775, 0.4274)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F02 #0F022F
analogous
#2F2602 #222F02 #0C2F02
triadic
#222F02 #02222F #2F0222
tetradic
#222F02 #022F26 #0F022F #2F020C
square
#222F02 #022F26 #0F022F #2F020C
split-complementary
#222F02 #020C2F #26022F
monochromatic
#151D01 #151D01 #222F02 #4C6A04 #77A407

Accessibility & contrast

On white

14.23
#222F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F02
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F02#FFFFFF#000000##FFFFFF
##222F021.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222f02;
/* rgb */ color: rgb(34, 47, 2);
/* oklch */ color: oklch(28.3% 0.068 124.9);
Tailwind
colors: {
  custom: {
    50: '#5e6748',
    500: '#222f02',
    950: '#000000',
  },
}
SCSS
$custom: #222f02;
$custom-light: #5e6748;
$custom-dark: #000000;
JSON
{
  "hex": "#222f02",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 77.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28304,
    "c": 0.06842,
    "h": 124.9
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#222F02
secondary
#331974
accent
#29FF67
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #222F02

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

Preview Lab → · Contrast checker → · Palette generator →

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