#022F02#022F02

#022F02 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.5% C 0.087 H 142.6°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#022F02
RGBrgb(2, 47, 2)
HSLhsl(120, 92%, 10%)
HSVhsv(120, 96%, 18%)
CMYKcmyk(95.7%, 0%, 95.7%, 81.6%)
CIE-LABlab(15.75, -25.40, 21.46)
CIE-LCHlch(15.75, 33.26, 139.81°)
OKLaboklab(26.54% -0.0689 0.0526)
OKLCHoklch(26.54% 0.087 142.6)
XYZxyz(1.0524, 2.0502, 0.3977)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022F02 #2F022F
analogous
#192F02 #022F02 #022F19
triadic
#022F02 #02022F #2F0202
tetradic
#022F02 #02192F #2F022F #2F1902
square
#022F02 #02192F #2F022F #2F1902
split-complementary
#022F02 #19022F #2F0219
monochromatic
#011D01 #011D01 #022F02 #046A04 #07A407

Accessibility & contrast

On white

14.89
#022F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #022F02
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022F02#FFFFFF#000000##FFFFFF
##022F021.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2B2606
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #022f02;
/* rgb */ color: rgb(2, 47, 2);
/* oklch */ color: oklch(26.5% 0.087 142.6);
Tailwind
colors: {
  custom: {
    50: '#4b6848',
    500: '#022f02',
    950: '#000000',
  },
}
SCSS
$custom: #022f02;
$custom-light: #4b6848;
$custom-dark: #000000;
JSON
{
  "hex": "#022f02",
  "rgb": {
    "r": 2,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26544,
    "c": 0.08674,
    "h": 142.6
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#022F02
secondary
#741974
accent
#29FFFF
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #022F02

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

Preview Lab → · Contrast checker → · Palette generator →

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