#222F10#222F10

#222F10 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.054 H 128.3°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#222F10
RGBrgb(34, 47, 16)
HSLhsl(85, 49%, 12%)
HSVhsv(85, 66%, 18%)
CMYKcmyk(27.7%, 0%, 66%, 81.6%)
CIE-LABlab(17.51, -11.91, 17.86)
CIE-LCHlch(17.51, 21.47, 123.71°)
OKLaboklab(28.48% -0.0334 0.0422)
OKLCHoklch(28.48% 0.054 128.3)
XYZxyz(1.7697, 2.4105, 0.8621)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F10 #1D102F
analogous
#2F2C10 #222F10 #132F10
triadic
#222F10 #10222F #2F1022
tetradic
#222F10 #102F2C #1D102F #2F1013
square
#222F10 #102F2C #1D102F #2F1013
split-complementary
#222F10 #10132F #2C102F
monochromatic
#111708 #111708 #222F10 #435D20 #648A2F

Accessibility & contrast

On white

14.17
#222F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F10
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F10#FFFFFF#000000##FFFFFF
##222F101.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C0D
Deuteranopia (green-blind)
#302B12
Tritanopia (blue-blind)
#232D28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222f10;
/* rgb */ color: rgb(34, 47, 16);
/* oklch */ color: oklch(28.5% 0.054 128.3);
Tailwind
colors: {
  custom: {
    50: '#5e674f',
    500: '#222f10',
    950: '#000000',
  },
}
SCSS
$custom: #222f10;
$custom-light: #5e674f;
$custom-dark: #000000;
JSON
{
  "hex": "#222f10",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 16
  },
  "hsl": {
    "h": 85.161,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28477,
    "c": 0.05384,
    "h": 128.3
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#222F10
secondary
#493368
accent
#4FD989
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #222F10

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

Preview Lab → · Contrast checker → · Palette generator →

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