#062A11#062A11

#062A11 is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.2% C 0.061 H 149.8°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#062A11
RGBrgb(6, 42, 17)
HSLhsl(138, 75%, 9%)
HSVhsv(138, 86%, 16%)
CMYKcmyk(85.7%, 0%, 59.5%, 83.5%)
CIE-LABlab(14.03, -19.73, 12.57)
CIE-LCHlch(14.03, 23.39, 147.49°)
OKLaboklab(25.22% -0.0531 0.031)
OKLCHoklch(25.22% 0.061 149.8)
XYZxyz(1.0042, 1.7350, 0.8122)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A11 #2A061F
analogous
#0D2A06 #062A11 #062A23
triadic
#062A11 #11062A #2A1106
tetradic
#062A11 #060D2A #2A061F #2A2306
square
#062A11 #060D2A #2A061F #2A2306
split-complementary
#062A11 #23062A #2A060D
monochromatic
#041B0B #041B0B #062A11 #0E6027 #15953C

Accessibility & contrast

On white

15.59
#062A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062A11
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A11#FFFFFF#000000##FFFFFF
##062A111.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A260F
Deuteranopia (green-blind)
#262213
Tritanopia (blue-blind)
#002924
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #062a11;
/* rgb */ color: rgb(6, 42, 17);
/* oklch */ color: oklch(25.2% 0.061 149.8);
Tailwind
colors: {
  custom: {
    50: '#4b644f',
    500: '#062a11',
    950: '#000000',
  },
}
SCSS
$custom: #062a11;
$custom-light: #4b644f;
$custom-dark: #000000;
JSON
{
  "hex": "#062a11",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 17
  },
  "hsl": {
    "h": 138.333,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25222,
    "c": 0.06148,
    "h": 149.8
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#062A11
secondary
#6B2154
accent
#36B8F2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #062A11

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

Preview Lab → · Contrast checker → · Palette generator →

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