#062D0C#062D0C

#062D0C is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.1% C 0.072 H 145.7°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#062D0C
RGBrgb(6, 45, 12)
HSLhsl(129, 76%, 10%)
HSVhsv(129, 87%, 18%)
CMYKcmyk(86.7%, 0%, 73.3%, 82.4%)
CIE-LABlab(15.18, -21.99, 16.65)
CIE-LCHlch(15.18, 27.58, 142.87°)
OKLaboklab(26.15% -0.0593 0.0405)
OKLCHoklch(26.15% 0.072 145.7)
XYZxyz(1.0798, 1.9419, 0.6657)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062D0C #2D0627
analogous
#132D06 #062D0C #062D20
triadic
#062D0C #0C062D #2D0C06
tetradic
#062D0C #06132D #2D0627 #2D2006
square
#062D0C #06132D #2D0627 #2D2006
split-complementary
#062D0C #20062D #2D0613
monochromatic
#041B07 #041B07 #062D0C #0D631A #149929

Accessibility & contrast

On white

15.13
#062D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#062D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062D0C
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062D0C#FFFFFF#000000##FFFFFF
##062D0C1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2809
Deuteranopia (green-blind)
#29250F
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #062d0c;
/* rgb */ color: rgb(6, 45, 12);
/* oklch */ color: oklch(26.1% 0.072 145.7);
Tailwind
colors: {
  custom: {
    50: '#4c664c',
    500: '#062d0c',
    950: '#000000',
  },
}
SCSS
$custom: #062d0c;
$custom-light: #4c664c;
$custom-dark: #000000;
JSON
{
  "hex": "#062d0c",
  "rgb": {
    "r": 6,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 129.231,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.26148,
    "c": 0.07184,
    "h": 145.7
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#062D0C
secondary
#6E2162
accent
#35D6F3
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #062D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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