#222F07#222F07

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

Color values

HEX#222F07
RGBrgb(34, 47, 7)
HSLhsl(80, 74%, 11%)
HSVhsv(80, 85%, 18%)
CMYKcmyk(27.7%, 0%, 85.1%, 81.6%)
CIE-LABlab(17.41, -12.86, 21.83)
CIE-LCHlch(17.41, 25.34, 120.50°)
OKLaboklab(28.36% -0.037 0.0512)
OKLCHoklch(28.36% 0.063 125.9)
XYZxyz(1.7146, 2.3884, 0.5717)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F07 #14072F
analogous
#2F2807 #222F07 #0E2F07
triadic
#222F07 #07222F #2F0722
tetradic
#222F07 #072F28 #14072F #2F070E
square
#222F07 #072F28 #14072F #2F070E
split-complementary
#222F07 #070E2F #28072F
monochromatic
#131B04 #131B04 #222F07 #49640F #6F9A17

Accessibility & contrast

On white

14.21
#222F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F07
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F07#FFFFFF#000000##FFFFFF
##222F071.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222f07;
/* rgb */ color: rgb(34, 47, 7);
/* oklch */ color: oklch(28.4% 0.063 125.9);
Tailwind
colors: {
  custom: {
    50: '#5e674a',
    500: '#222f07',
    950: '#000000',
  },
}
SCSS
$custom: #222f07;
$custom-light: #5e674a;
$custom-dark: #000000;
JSON
{
  "hex": "#222f07",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 79.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28361,
    "c": 0.06322,
    "h": 125.9
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#222F07
secondary
#3C236F
accent
#37F173
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #222F07

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

Preview Lab → · Contrast checker → · Palette generator →

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