#062A15#062A15

#062A15 is a dark, muted green. Relative luminance 0.017; OKLCH L 25.3% C 0.057 H 153.6°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#062A15
RGBrgb(6, 42, 21)
HSLhsl(145, 75%, 9%)
HSVhsv(145, 86%, 16%)
CMYKcmyk(85.7%, 0%, 50%, 83.5%)
CIE-LABlab(14.11, -18.84, 10.14)
CIE-LCHlch(14.11, 21.39, 151.71°)
OKLaboklab(25.31% -0.0508 0.0252)
OKLCHoklch(25.31% 0.057 153.6)
XYZxyz(1.0383, 1.7487, 0.9921)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A15 #2A061B
analogous
#092A06 #062A15 #062A27
triadic
#062A15 #15062A #2A1506
tetradic
#062A15 #06092A #2A061B #2A2706
square
#062A15 #06092A #2A061B #2A2706
split-complementary
#062A15 #27062A #2A0609
monochromatic
#041B0D #041B0D #062A15 #0E6030 #15954B

Accessibility & contrast

On white

15.56
#062A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#062A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062A15
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A15#FFFFFF#000000##FFFFFF
##062A151.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2614
Deuteranopia (green-blind)
#252316
Tritanopia (blue-blind)
#002925
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #062a15;
/* rgb */ color: rgb(6, 42, 21);
/* oklch */ color: oklch(25.3% 0.057 153.6);
Tailwind
colors: {
  custom: {
    50: '#4b6452',
    500: '#062a15',
    950: '#000000',
  },
}
SCSS
$custom: #062a15;
$custom-light: #4b6452;
$custom-dark: #000000;
JSON
{
  "hex": "#062a15",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 21
  },
  "hsl": {
    "h": 145,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25313,
    "c": 0.05673,
    "h": 153.6
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#062A15
secondary
#6B214C
accent
#36A4F2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #062A15

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

Preview Lab → · Contrast checker → · Palette generator →

#062A15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva