#062A17#062A17

#062A17 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.4% C 0.054 H 155.9°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#062A17
RGBrgb(6, 42, 23)
HSLhsl(148, 75%, 9%)
HSVhsv(148, 86%, 16%)
CMYKcmyk(85.7%, 0%, 45.2%, 83.5%)
CIE-LABlab(14.15, -18.34, 8.84)
CIE-LCHlch(14.15, 20.36, 154.28°)
OKLaboklab(25.36% -0.0496 0.0222)
OKLCHoklch(25.36% 0.054 155.9)
XYZxyz(1.0576, 1.7564, 1.0937)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A17 #2A0619
analogous
#072A06 #062A17 #062A29
triadic
#062A17 #17062A #2A1706
tetradic
#062A17 #06072A #2A0619 #2A2906
square
#062A17 #06072A #2A0619 #2A2906
split-complementary
#062A17 #29062A #2A0607
monochromatic
#041B0F #041B0F #062A17 #0E6034 #159552

Accessibility & contrast

On white

15.54
#062A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062A17
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A17#FFFFFF#000000##FFFFFF
##062A171.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2616
Deuteranopia (green-blind)
#252318
Tritanopia (blue-blind)
#002A25
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #062a17;
/* rgb */ color: rgb(6, 42, 23);
/* oklch */ color: oklch(25.4% 0.054 155.9);
Tailwind
colors: {
  custom: {
    50: '#4b6454',
    500: '#062a17',
    950: '#000000',
  },
}
SCSS
$custom: #062a17;
$custom-light: #4b6454;
$custom-dark: #000000;
JSON
{
  "hex": "#062a17",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 148.333,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25364,
    "c": 0.05435,
    "h": 155.9
  },
  "luminance": 0.01757
}

Semantic roles & 50–950 ramp

primary
#062A17
secondary
#6B2148
accent
#3699F2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #062A17

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

Preview Lab → · Contrast checker → · Palette generator →

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