#222C02#222C02

#222C02 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.4% C 0.064 H 122.4°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#222C02
RGBrgb(34, 44, 2)
HSLhsl(74, 91%, 9%)
HSVhsv(74, 95%, 17%)
CMYKcmyk(22.7%, 0%, 95.5%, 82.7%)
CIE-LABlab(16.23, -11.57, 22.43)
CIE-LCHlch(16.23, 25.24, 117.28°)
OKLaboklab(27.4% -0.0343 0.0541)
OKLCHoklch(27.4% 0.064 122.4)
XYZxyz(1.5714, 2.1458, 0.3888)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C02 #0C022C
analogous
#2C2102 #222C02 #0D2C02
triadic
#222C02 #02222C #2C0222
tetradic
#222C02 #022C21 #0C022C #2C020D
square
#222C02 #022C21 #0C022C #2C020D
split-complementary
#222C02 #020D2C #21022C
monochromatic
#171D01 #171D01 #222C02 #4F6705 #7CA107

Accessibility & contrast

On white

14.69
#222C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#222C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C02
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C02#FFFFFF#000000##FFFFFF
##222C021.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#2E2805
Tritanopia (blue-blind)
#242924
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #222c02;
/* rgb */ color: rgb(34, 44, 2);
/* oklch */ color: oklch(27.4% 0.064 122.4);
Tailwind
colors: {
  custom: {
    50: '#5e6548',
    500: '#222c02',
    950: '#000000',
  },
}
SCSS
$custom: #222c02;
$custom-light: #5e6548;
$custom-dark: #000000;
JSON
{
  "hex": "#222c02",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 74.286,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27396,
    "c": 0.06405,
    "h": 122.4
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#222C02
secondary
#2E1971
accent
#29FF5C
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #222C02

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

Preview Lab → · Contrast checker → · Palette generator →

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