#222B02#222B02

#222B02 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.063 H 121.4°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#222B02
RGBrgb(34, 43, 2)
HSLhsl(73, 91%, 9%)
HSVhsv(73, 95%, 17%)
CMYKcmyk(20.9%, 0%, 95.3%, 83.1%)
CIE-LABlab(15.86, -10.96, 21.96)
CIE-LCHlch(15.86, 24.54, 116.53°)
OKLaboklab(27.1% -0.0326 0.0534)
OKLCHoklch(27.1% 0.063 121.4)
XYZxyz(1.5346, 2.0722, 0.3766)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B02 #0B022B
analogous
#2B2002 #222B02 #0E2B02
triadic
#222B02 #02222B #2B0222
tetradic
#222B02 #022B20 #0B022B #2B020E
square
#222B02 #022B20 #0B022B #2B020E
split-complementary
#222B02 #020E2B #20022B
monochromatic
#171D01 #171D01 #222B02 #506505 #7EA007

Accessibility & contrast

On white

14.85
#222B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#222B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B02
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B02#FFFFFF#000000##FFFFFF
##222B021.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2D2805
Tritanopia (blue-blind)
#252823
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #222b02;
/* rgb */ color: rgb(34, 43, 2);
/* oklch */ color: oklch(27.1% 0.063 121.4);
Tailwind
colors: {
  custom: {
    50: '#5e6448',
    500: '#222b02',
    950: '#000000',
  },
}
SCSS
$custom: #222b02;
$custom-light: #5e6448;
$custom-dark: #000000;
JSON
{
  "hex": "#222b02",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 73.171,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27095,
    "c": 0.06261,
    "h": 121.4
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#222B02
secondary
#2C1970
accent
#29FF58
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #222B02

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

Preview Lab → · Contrast checker → · Palette generator →

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