#062C12#062C12

#062C12 is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.9% C 0.064 H 149.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#062C12
RGBrgb(6, 44, 18)
HSLhsl(139, 76%, 10%)
HSVhsv(139, 86%, 17%)
CMYKcmyk(86.4%, 0%, 59.1%, 82.7%)
CIE-LABlab(14.86, -20.46, 13.06)
CIE-LCHlch(14.86, 24.27, 147.44°)
OKLaboklab(25.92% -0.0551 0.0319)
OKLCHoklch(25.92% 0.064 149.9)
XYZxyz(1.0849, 1.8836, 0.8786)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062C12 #2C0620
analogous
#0D2C06 #062C12 #062C25
triadic
#062C12 #12062C #2C1206
tetradic
#062C12 #060D2C #2C0620 #2C2506
square
#062C12 #060D2C #2C0620 #2C2506
split-complementary
#062C12 #25062C #2C060D
monochromatic
#041B0B #041B0B #062C12 #0D6228 #15983E

Accessibility & contrast

On white

15.25
#062C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#062C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062C12
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062C12#FFFFFF#000000##FFFFFF
##062C121.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2710
Deuteranopia (green-blind)
#282414
Tritanopia (blue-blind)
#002B26
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #062c12;
/* rgb */ color: rgb(6, 44, 18);
/* oklch */ color: oklch(25.9% 0.064 149.9);
Tailwind
colors: {
  custom: {
    50: '#4c6550',
    500: '#062c12',
    950: '#000000',
  },
}
SCSS
$custom: #062c12;
$custom-light: #4c6550;
$custom-dark: #000000;
JSON
{
  "hex": "#062c12",
  "rgb": {
    "r": 6,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 138.947,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25917,
    "c": 0.06365,
    "h": 149.9
  },
  "luminance": 0.01884
}

Semantic roles & 50–950 ramp

primary
#062C12
secondary
#6D2155
accent
#35B7F3
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #062C12

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

Preview Lab → · Contrast checker → · Palette generator →

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