#222C07#222C07

#222C07 is a dark, muted yellow-green. Relative luminance 0.022; OKLCH L 27.5% C 0.058 H 123.3°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#222C07
RGBrgb(34, 44, 7)
HSLhsl(76, 73%, 10%)
HSVhsv(76, 84%, 17%)
CMYKcmyk(22.7%, 0%, 84.1%, 82.7%)
CIE-LABlab(16.29, -11.07, 20.46)
CIE-LCHlch(16.29, 23.26, 118.41°)
OKLaboklab(27.46% -0.0321 0.0489)
OKLCHoklch(27.46% 0.058 123.3)
XYZxyz(1.5987, 2.1568, 0.5330)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C07 #11072C
analogous
#2C2307 #222C07 #102C07
triadic
#222C07 #07222C #2C0722
tetradic
#222C07 #072C23 #11072C #2C0710
square
#222C07 #072C23 #11072C #2C0710
split-complementary
#222C07 #07102C #23072C
monochromatic
#141A04 #141A04 #222C07 #4B610F #749618

Accessibility & contrast

On white

14.67
#222C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222C07
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C07#FFFFFF#000000##FFFFFF
##222C071.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2903
Deuteranopia (green-blind)
#2E280A
Tritanopia (blue-blind)
#242925
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #222c07;
/* rgb */ color: rgb(34, 44, 7);
/* oklch */ color: oklch(27.5% 0.058 123.3);
Tailwind
colors: {
  custom: {
    50: '#5e654a',
    500: '#222c07',
    950: '#000000',
  },
}
SCSS
$custom: #222c07;
$custom-light: #5e654a;
$custom-dark: #000000;
JSON
{
  "hex": "#222c07",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 76.216,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.27458,
    "c": 0.05848,
    "h": 123.3
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#222C07
secondary
#37236C
accent
#39EF6A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #222C07

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

Preview Lab → · Contrast checker → · Palette generator →

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