#062812#062812

#062812 is a very dark, muted green. Relative luminance 0.016; OKLCH L 24.6% C 0.057 H 151.5°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#062812
RGBrgb(6, 40, 18)
HSLhsl(141, 74%, 9%)
HSVhsv(141, 85%, 16%)
CMYKcmyk(85%, 0%, 55%, 84.3%)
CIE-LABlab(13.23, -18.55, 10.92)
CIE-LCHlch(13.23, 21.53, 149.52°)
OKLaboklab(24.57% -0.05 0.0272)
OKLCHoklch(24.57% 0.057 151.5)
XYZxyz(0.9430, 1.5999, 0.8313)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062812 #28061C
analogous
#0B2806 #062812 #062823
triadic
#062812 #120628 #281206
tetradic
#062812 #060B28 #28061C #282306
square
#062812 #060B28 #28061C #282306
split-complementary
#062812 #230628 #28060B
monochromatic
#041B0C #041B0C #062812 #0E5D2A #169242

Accessibility & contrast

On white

15.91
#062812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#062812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062812
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062812#FFFFFF#000000##FFFFFF
##0628121.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282410
Deuteranopia (green-blind)
#242113
Tritanopia (blue-blind)
#002723
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #062812;
/* rgb */ color: rgb(6, 40, 18);
/* oklch */ color: oklch(24.6% 0.057 151.5);
Tailwind
colors: {
  custom: {
    50: '#4b6250',
    500: '#062812',
    950: '#000000',
  },
}
SCSS
$custom: #062812;
$custom-light: #4b6250;
$custom-dark: #000000;
JSON
{
  "hex": "#062812",
  "rgb": {
    "r": 6,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 141.176,
    "s": 73.913,
    "l": 9.02
  },
  "oklch": {
    "l": 0.24568,
    "c": 0.0569,
    "h": 151.5
  },
  "luminance": 0.016
}

Semantic roles & 50–950 ramp

primary
#062812
secondary
#69214F
accent
#37AFF1
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010502
muted
#777978

Preview Lab

Preview with #062812

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

Preview Lab → · Contrast checker → · Palette generator →

#062812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva