#02270E#02270E

#02270E is a very dark, moderate green. Relative luminance 0.015; OKLCH L 24.0% C 0.063 H 150.2°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#02270E
RGBrgb(2, 39, 14)
HSLhsl(139, 90%, 8%)
HSVhsv(139, 95%, 15%)
CMYKcmyk(94.9%, 0%, 64.1%, 84.7%)
CIE-LABlab(12.58, -20.23, 12.24)
CIE-LCHlch(12.58, 23.65, 148.82°)
OKLaboklab(23.96% -0.0543 0.031)
OKLCHoklch(23.96% 0.063 150.2)
XYZxyz(0.8297, 1.4955, 0.6603)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02270E #27021B
analogous
#092702 #02270E #022720
triadic
#02270E #0E0227 #270E02
tetradic
#02270E #020927 #27021B #272002
square
#02270E #020927 #27021B #272002
split-complementary
#02270E #200227 #270209
monochromatic
#011D0A #011D0A #02270E #056123 #089B38

Accessibility & contrast

On white

16.16
#02270E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#02270E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02270E
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02270E#FFFFFF#000000##FFFFFF
##02270E1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27230C
Deuteranopia (green-blind)
#231F10
Tritanopia (blue-blind)
#002621
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #02270e;
/* rgb */ color: rgb(2, 39, 14);
/* oklch */ color: oklch(24.0% 0.063 150.2);
Tailwind
colors: {
  custom: {
    50: '#48614d',
    500: '#02270e',
    950: '#000000',
  },
}
SCSS
$custom: #02270e;
$custom-light: #48614d;
$custom-dark: #000000;
JSON
{
  "hex": "#02270e",
  "rgb": {
    "r": 2,
    "g": 39,
    "b": 14
  },
  "hsl": {
    "h": 139.459,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.2396,
    "c": 0.06254,
    "h": 150.2
  },
  "luminance": 0.01496
}

Semantic roles & 50–950 ramp

primary
#02270E
secondary
#6C1851
accent
#29BAFF
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #02270E

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

Preview Lab → · Contrast checker → · Palette generator →

#02270E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva