#002A0C#002A0C

#002A0C is a very dark, moderate green. Relative luminance 0.017; OKLCH L 24.9% C 0.071 H 148.7°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#002A0C
RGBrgb(0, 42, 12)
HSLhsl(137, 100%, 8%)
HSVhsv(137, 100%, 16%)
CMYKcmyk(100%, 0%, 71.4%, 83.5%)
CIE-LABlab(13.72, -22.57, 14.72)
CIE-LCHlch(13.72, 26.94, 146.89°)
OKLaboklab(24.88% -0.0604 0.0367)
OKLCHoklch(24.88% 0.071 148.7)
XYZxyz(0.8942, 1.6824, 0.6253)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#002A0C #2A001E
analogous
#092A00 #002A0C #002A21
triadic
#002A0C #0C002A #2A0C00
tetradic
#002A0C #00092A #2A001E #2A2100
square
#002A0C #00092A #2A001E #2A2100
split-complementary
#002A0C #21002A #2A0009
monochromatic
#001F09 #001F09 #002A0C #00671D #00A42F

Accessibility & contrast

On white

15.71
#002A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#002A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #002A0C
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##002A0C#FFFFFF#000000##FFFFFF
##002A0C1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2509
Deuteranopia (green-blind)
#26220E
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #002a0c;
/* rgb */ color: rgb(0, 42, 12);
/* oklch */ color: oklch(24.9% 0.071 148.7);
Tailwind
colors: {
  custom: {
    50: '#48644c',
    500: '#002a0c',
    950: '#000000',
  },
}
SCSS
$custom: #002a0c;
$custom-light: #48644c;
$custom-dark: #000000;
JSON
{
  "hex": "#002a0c",
  "rgb": {
    "r": 0,
    "g": 42,
    "b": 12
  },
  "hsl": {
    "h": 137.143,
    "s": 100,
    "l": 8.235
  },
  "oklch": {
    "l": 0.24876,
    "c": 0.0707,
    "h": 148.7
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#002A0C
secondary
#721457
accent
#29C2FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #002A0C

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

Preview Lab → · Contrast checker → · Palette generator →

#002A0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva