#222F03#222F03

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

Color values

HEX#222F03
RGBrgb(34, 47, 3)
HSLhsl(78, 88%, 10%)
HSVhsv(78, 94%, 18%)
CMYKcmyk(27.7%, 0%, 93.6%, 81.6%)
CIE-LABlab(17.37, -13.24, 23.41)
CIE-LCHlch(17.37, 26.90, 119.50°)
OKLaboklab(28.32% -0.0387 0.0551)
OKLCHoklch(28.32% 0.067 125)
XYZxyz(1.6927, 2.3797, 0.4563)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F03 #10032F
analogous
#2F2603 #222F03 #0C2F03
triadic
#222F03 #03222F #2F0322
tetradic
#222F03 #032F26 #10032F #2F030C
square
#222F03 #032F26 #10032F #2F030C
split-complementary
#222F03 #030C2F #26032F
monochromatic
#151D02 #151D02 #222F03 #4C6907 #75A20A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##222F03#FFFFFF#000000##FFFFFF
##222F031.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)
#312A06
Tritanopia (blue-blind)
#242C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222f03;
/* rgb */ color: rgb(34, 47, 3);
/* oklch */ color: oklch(28.3% 0.067 125.0);
Tailwind
colors: {
  custom: {
    50: '#5e6748',
    500: '#222f03',
    950: '#000000',
  },
}
SCSS
$custom: #222f03;
$custom-light: #5e6748;
$custom-dark: #000000;
JSON
{
  "hex": "#222f03",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 77.727,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28315,
    "c": 0.06735,
    "h": 125
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#222F03
secondary
#351B73
accent
#2AFE68
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#040600
muted
#797A77

Preview Lab

Preview with #222F03

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

Preview Lab → · Contrast checker → · Palette generator →

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