#222C03#222C03

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

Color values

HEX#222C03
RGBrgb(34, 44, 3)
HSLhsl(75, 87%, 9%)
HSVhsv(75, 93%, 17%)
CMYKcmyk(22.7%, 0%, 93.2%, 82.7%)
CIE-LABlab(16.25, -11.47, 22.04)
CIE-LCHlch(16.25, 24.84, 117.49°)
OKLaboklab(27.41% -0.0338 0.053)
OKLCHoklch(27.41% 0.063 122.5)
XYZxyz(1.5768, 2.1480, 0.4177)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C03 #0D032C
analogous
#2C2203 #222C03 #0E2C03
triadic
#222C03 #03222C #2C0322
tetradic
#222C03 #032C22 #0D032C #2C030E
square
#222C03 #032C22 #0D032C #2C030E
split-complementary
#222C03 #030E2C #22032C
monochromatic
#161D02 #161D02 #222C03 #4E6507 #7B9F0B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##222C03#FFFFFF#000000##FFFFFF
##222C031.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)
#2E2806
Tritanopia (blue-blind)
#242924
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #222c03;
/* rgb */ color: rgb(34, 44, 3);
/* oklch */ color: oklch(27.4% 0.063 122.5);
Tailwind
colors: {
  custom: {
    50: '#5e6548',
    500: '#222c03',
    950: '#000000',
  },
}
SCSS
$custom: #222c03;
$custom-light: #5e6548;
$custom-dark: #000000;
JSON
{
  "hex": "#222c03",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 74.634,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27409,
    "c": 0.0629,
    "h": 122.5
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#222C03
secondary
#301B70
accent
#2AFD5E
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040500
muted
#797A77

Preview Lab

Preview with #222C03

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

Preview Lab → · Contrast checker → · Palette generator →

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