#222E07#222E07

#222E07 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.1% C 0.062 H 125.1°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#222E07
RGBrgb(34, 46, 7)
HSLhsl(78, 74%, 10%)
HSVhsv(78, 85%, 18%)
CMYKcmyk(26.1%, 0%, 84.8%, 82%)
CIE-LABlab(17.03, -12.27, 21.38)
CIE-LCHlch(17.03, 24.65, 119.85°)
OKLaboklab(28.06% -0.0354 0.0505)
OKLCHoklch(28.06% 0.062 125.1)
XYZxyz(1.6750, 2.3094, 0.5585)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E07 #13072E
analogous
#2E2607 #222E07 #0E2E07
triadic
#222E07 #07222E #2E0722
tetradic
#222E07 #072E26 #13072E #2E070E
square
#222E07 #072E26 #13072E #2E070E
split-complementary
#222E07 #070E2E #26072E
monochromatic
#141B04 #141B04 #222E07 #49630F #719817

Accessibility & contrast

On white

14.37
#222E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#222E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E07
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E07#FFFFFF#000000##FFFFFF
##222E071.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A03
Deuteranopia (green-blind)
#2F2A0A
Tritanopia (blue-blind)
#242B26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #222e07;
/* rgb */ color: rgb(34, 46, 7);
/* oklch */ color: oklch(28.1% 0.062 125.1);
Tailwind
colors: {
  custom: {
    50: '#5e664a',
    500: '#222e07',
    950: '#000000',
  },
}
SCSS
$custom: #222e07;
$custom-light: #5e664a;
$custom-dark: #000000;
JSON
{
  "hex": "#222e07",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 78.462,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2806,
    "c": 0.06164,
    "h": 125.1
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#222E07
secondary
#3A236E
accent
#38F070
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #222E07

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

Preview Lab → · Contrast checker → · Palette generator →

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