#222F09#222F09

#222F09 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.4% C 0.061 H 126.3°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#222F09
RGBrgb(34, 47, 9)
HSLhsl(81, 68%, 11%)
HSVhsv(81, 81%, 18%)
CMYKcmyk(27.7%, 0%, 80.9%, 81.6%)
CIE-LABlab(17.43, -12.67, 21.04)
CIE-LCHlch(17.43, 24.56, 121.05°)
OKLaboklab(28.38% -0.0363 0.0494)
OKLCHoklch(28.38% 0.061 126.3)
XYZxyz(1.7255, 2.3928, 0.6293)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F09 #16092F
analogous
#2F2909 #222F09 #0F2F09
triadic
#222F09 #09222F #2F0922
tetradic
#222F09 #092F29 #16092F #2F090F
square
#222F09 #092F29 #16092F #2F090F
split-complementary
#222F09 #090F2F #29092F
monochromatic
#131A05 #131A05 #222F09 #476213 #6C961D

Accessibility & contrast

On white

14.20
#222F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F09
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F09#FFFFFF#000000##FFFFFF
##222F091.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B05
Deuteranopia (green-blind)
#302B0C
Tritanopia (blue-blind)
#242C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222f09;
/* rgb */ color: rgb(34, 47, 9);
/* oklch */ color: oklch(28.4% 0.061 126.3);
Tailwind
colors: {
  custom: {
    50: '#5e674b',
    500: '#222f09',
    950: '#000000',
  },
}
SCSS
$custom: #222f09;
$custom-light: #5e674b;
$custom-dark: #000000;
JSON
{
  "hex": "#222f09",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 80.526,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28384,
    "c": 0.06125,
    "h": 126.3
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#222F09
secondary
#3F276D
accent
#3DEB78
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #222F09

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

Preview Lab → · Contrast checker → · Palette generator →

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