#022F04#022F04

#022F04 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.6% C 0.085 H 143.4°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#022F04
RGBrgb(2, 47, 4)
HSLhsl(123, 92%, 10%)
HSVhsv(123, 96%, 18%)
CMYKcmyk(95.7%, 0%, 91.5%, 81.6%)
CIE-LABlab(15.77, -25.12, 20.68)
CIE-LCHlch(15.77, 32.53, 140.53°)
OKLaboklab(26.57% -0.068 0.0504)
OKLCHoklch(26.57% 0.085 143.4)
XYZxyz(1.0634, 2.0546, 0.4554)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022F04 #2F022D
analogous
#172F02 #022F04 #022F1B
triadic
#022F04 #04022F #2F0402
tetradic
#022F04 #02172F #2F022D #2F1B02
square
#022F04 #02172F #2F022D #2F1B02
split-complementary
#022F04 #1B022F #2F0217
monochromatic
#011D02 #011D02 #022F04 #046A09 #07A40E

Accessibility & contrast

On white

14.88
#022F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #022F04
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022F04#FFFFFF#000000##FFFFFF
##022F041.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #022f04;
/* rgb */ color: rgb(2, 47, 4);
/* oklch */ color: oklch(26.6% 0.085 143.4);
Tailwind
colors: {
  custom: {
    50: '#4b6848',
    500: '#022f04',
    950: '#000000',
  },
}
SCSS
$custom: #022f04;
$custom-light: #4b6848;
$custom-dark: #000000;
JSON
{
  "hex": "#022f04",
  "rgb": {
    "r": 2,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 122.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2657,
    "c": 0.08463,
    "h": 143.4
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#022F04
secondary
#741970
accent
#29F5FF
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #022F04

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

Preview Lab → · Contrast checker → · Palette generator →

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