#02270B#02270B

#02270B is a very dark, moderate green. Relative luminance 0.015; OKLCH L 23.9% C 0.066 H 148.0°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#02270B
RGBrgb(2, 39, 11)
HSLhsl(135, 90%, 8%)
HSVhsv(135, 95%, 15%)
CMYKcmyk(94.9%, 0%, 71.8%, 84.7%)
CIE-LABlab(12.53, -20.80, 13.58)
CIE-LCHlch(12.53, 24.84, 146.85°)
OKLaboklab(23.9% -0.0559 0.0349)
OKLCHoklch(23.9% 0.066 148)
XYZxyz(0.8109, 1.4880, 0.5610)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02270B #27021E
analogous
#0B2702 #02270B #02271D
triadic
#02270B #0B0227 #270B02
tetradic
#02270B #020B27 #27021E #271D02
square
#02270B #020B27 #27021E #271D02
split-complementary
#02270B #1D0227 #27020B
monochromatic
#011D08 #011D08 #02270B #05611B #089B2C

Accessibility & contrast

On white

16.18
#02270B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02270B
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02270B#FFFFFF#000000##FFFFFF
##02270B1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282208
Deuteranopia (green-blind)
#231F0D
Tritanopia (blue-blind)
#002621
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #02270b;
/* rgb */ color: rgb(2, 39, 11);
/* oklch */ color: oklch(23.9% 0.066 148.0);
Tailwind
colors: {
  custom: {
    50: '#48614b',
    500: '#02270b',
    950: '#000000',
  },
}
SCSS
$custom: #02270b;
$custom-light: #48614b;
$custom-dark: #000000;
JSON
{
  "hex": "#02270b",
  "rgb": {
    "r": 2,
    "g": 39,
    "b": 11
  },
  "hsl": {
    "h": 134.595,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23904,
    "c": 0.06588,
    "h": 148
  },
  "luminance": 0.01488
}

Semantic roles & 50–950 ramp

primary
#02270B
secondary
#6C1858
accent
#29CBFF
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #02270B

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

Preview Lab → · Contrast checker → · Palette generator →

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