#02290F#02290F

#02290F is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.7% C 0.065 H 150.3°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#02290F
RGBrgb(2, 41, 15)
HSLhsl(140, 91%, 8%)
HSVhsv(140, 95%, 16%)
CMYKcmyk(95.1%, 0%, 63.4%, 83.9%)
CIE-LABlab(13.43, -20.92, 12.87)
CIE-LCHlch(13.43, 24.56, 148.40°)
OKLaboklab(24.67% -0.0561 0.032)
OKLCHoklch(24.67% 0.065 150.3)
XYZxyz(0.9041, 1.6332, 0.7194)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02290F #29021C
analogous
#082902 #02290F #022922
triadic
#02290F #0F0229 #290F02
tetradic
#02290F #020829 #29021C #292202
square
#02290F #020829 #29021C #292202
split-complementary
#02290F #220229 #290208
monochromatic
#011D0B #011D0B #02290F #056324 #089E3A

Accessibility & contrast

On white

15.83
#02290F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#02290F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02290F
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02290F#FFFFFF#000000##FFFFFF
##02290F1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240D
Deuteranopia (green-blind)
#252111
Tritanopia (blue-blind)
#002823
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #02290f;
/* rgb */ color: rgb(2, 41, 15);
/* oklch */ color: oklch(24.7% 0.065 150.3);
Tailwind
colors: {
  custom: {
    50: '#49634e',
    500: '#02290f',
    950: '#000000',
  },
}
SCSS
$custom: #02290f;
$custom-light: #49634e;
$custom-dark: #000000;
JSON
{
  "hex": "#02290f",
  "rgb": {
    "r": 2,
    "g": 41,
    "b": 15
  },
  "hsl": {
    "h": 140,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24671,
    "c": 0.0646,
    "h": 150.3
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#02290F
secondary
#6E1952
accent
#29B8FF
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #02290F

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

Preview Lab → · Contrast checker → · Palette generator →

#02290F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva