#022F0C#022F0C

#022F0C is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.7% C 0.077 H 146.8°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#022F0C
RGBrgb(2, 47, 12)
HSLhsl(133, 92%, 10%)
HSVhsv(133, 96%, 18%)
CMYKcmyk(95.7%, 0%, 74.5%, 81.6%)
CIE-LABlab(15.86, -23.97, 17.49)
CIE-LCHlch(15.86, 29.67, 143.89°)
OKLaboklab(26.68% -0.0644 0.0421)
OKLCHoklch(26.68% 0.077 146.8)
XYZxyz(1.1078, 2.0723, 0.6894)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022F0C #2F0225
analogous
#0F2F02 #022F0C #022F23
triadic
#022F0C #0C022F #2F0C02
tetradic
#022F0C #020F2F #2F0225 #2F2302
square
#022F0C #020F2F #2F0225 #2F2302
split-complementary
#022F0C #23022F #2F020F
monochromatic
#011D07 #011D07 #022F0C #046A1B #07A42A

Accessibility & contrast

On white

14.85
#022F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#022F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022F0C
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022F0C#FFFFFF#000000##FFFFFF
##022F0C1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A08
Deuteranopia (green-blind)
#2B260F
Tritanopia (blue-blind)
#002E28
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #022f0c;
/* rgb */ color: rgb(2, 47, 12);
/* oklch */ color: oklch(26.7% 0.077 146.8);
Tailwind
colors: {
  custom: {
    50: '#4b684c',
    500: '#022f0c',
    950: '#000000',
  },
}
SCSS
$custom: #022f0c;
$custom-light: #4b684c;
$custom-dark: #000000;
JSON
{
  "hex": "#022f0c",
  "rgb": {
    "r": 2,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 133.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26676,
    "c": 0.07695,
    "h": 146.8
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#022F0C
secondary
#741960
accent
#29CFFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #022F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#022F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva