#062D04#062D04

#062D04 is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.0% C 0.080 H 142.1°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#062D04
RGBrgb(6, 45, 4)
HSLhsl(117, 84%, 10%)
HSVhsv(117, 91%, 18%)
CMYKcmyk(86.7%, 0%, 91.1%, 82.4%)
CIE-LABlab(15.08, -23.15, 19.83)
CIE-LCHlch(15.08, 30.48, 139.41°)
OKLaboklab(26.04% -0.063 0.0491)
OKLCHoklch(26.04% 0.08 142.1)
XYZxyz(1.0353, 1.9241, 0.4317)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062D04 #2B042D
analogous
#1B2D04 #062D04 #042D17
triadic
#062D04 #04062D #2D0406
tetradic
#062D04 #041B2D #2B042D #2D1704
square
#062D04 #041B2D #2B042D #2D1704
split-complementary
#062D04 #17042D #2D041B
monochromatic
#041C02 #041C02 #062D04 #0D6509 #159D0E

Accessibility & contrast

On white

15.16
#062D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062D04
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062D04#FFFFFF#000000##FFFFFF
##062D041.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2A2508
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #062d04;
/* rgb */ color: rgb(6, 45, 4);
/* oklch */ color: oklch(26.0% 0.080 142.1);
Tailwind
colors: {
  custom: {
    50: '#4c6648',
    500: '#062d04',
    950: '#000000',
  },
}
SCSS
$custom: #062d04;
$custom-light: #4c6648;
$custom-dark: #000000;
JSON
{
  "hex": "#062d04",
  "rgb": {
    "r": 6,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 117.073,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26038,
    "c": 0.07988,
    "h": 142.1
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#062D04
secondary
#6C1D70
accent
#2EFAF0
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #062D04

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

Preview Lab → · Contrast checker → · Palette generator →

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