#02280E#02280E

#02280E is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.3% C 0.064 H 149.9°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#02280E
RGBrgb(2, 40, 14)
HSLhsl(139, 90%, 8%)
HSVhsv(139, 95%, 16%)
CMYKcmyk(95%, 0%, 65%, 84.3%)
CIE-LABlab(13.00, -20.68, 12.81)
CIE-LCHlch(13.00, 24.32, 148.23°)
OKLaboklab(24.31% -0.0555 0.0322)
OKLCHoklch(24.31% 0.064 149.9)
XYZxyz(0.8630, 1.5621, 0.6714)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02280E #28021C
analogous
#092802 #02280E #022821
triadic
#02280E #0E0228 #280E02
tetradic
#02280E #020928 #28021C #282102
square
#02280E #020928 #28021C #282102
split-complementary
#02280E #210228 #280209
monochromatic
#011D0A #011D0A #02280E #056222 #089D37

Accessibility & contrast

On white

16.00
#02280E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#02280E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02280E
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02280E#FFFFFF#000000##FFFFFF
##02280E1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230C
Deuteranopia (green-blind)
#242010
Tritanopia (blue-blind)
#002722
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #02280e;
/* rgb */ color: rgb(2, 40, 14);
/* oklch */ color: oklch(24.3% 0.064 149.9);
Tailwind
colors: {
  custom: {
    50: '#48624d',
    500: '#02280e',
    950: '#000000',
  },
}
SCSS
$custom: #02280e;
$custom-light: #48624d;
$custom-dark: #000000;
JSON
{
  "hex": "#02280e",
  "rgb": {
    "r": 2,
    "g": 40,
    "b": 14
  },
  "hsl": {
    "h": 138.947,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.24306,
    "c": 0.06414,
    "h": 149.9
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#02280E
secondary
#6D1953
accent
#29BBFF
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #02280E

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

Preview Lab → · Contrast checker → · Palette generator →

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