#062804#062804

#062804 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.3% C 0.073 H 142.0°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#062804
RGBrgb(6, 40, 4)
HSLhsl(117, 82%, 9%)
HSVhsv(117, 90%, 16%)
CMYKcmyk(85%, 0%, 90%, 84.3%)
CIE-LABlab(13.02, -21.05, 17.12)
CIE-LCHlch(13.02, 27.13, 140.87°)
OKLaboklab(24.32% -0.0573 0.0449)
OKLCHoklch(24.32% 0.073 142)
XYZxyz(0.8558, 1.5650, 0.3718)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062804 #260428
analogous
#182804 #062804 #042814
triadic
#062804 #040628 #280406
tetradic
#062804 #041828 #260428 #281404
square
#062804 #041828 #260428 #281404
split-complementary
#062804 #140428 #280418
monochromatic
#041C03 #041C03 #062804 #0E600A #17970F

Accessibility & contrast

On white

15.99
#062804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#062804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062804
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062804#FFFFFF#000000##FFFFFF
##0628041.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292301
Deuteranopia (green-blind)
#252107
Tritanopia (blue-blind)
#012621
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #062804;
/* rgb */ color: rgb(6, 40, 4);
/* oklch */ color: oklch(24.3% 0.073 142.0);
Tailwind
colors: {
  custom: {
    50: '#4a6248',
    500: '#062804',
    950: '#000000',
  },
}
SCSS
$custom: #062804;
$custom-light: #4a6248;
$custom-dark: #000000;
JSON
{
  "hex": "#062804",
  "rgb": {
    "r": 6,
    "g": 40,
    "b": 4
  },
  "hsl": {
    "h": 116.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24321,
    "c": 0.0728,
    "h": 142
  },
  "luminance": 0.01565
}

Semantic roles & 50–950 ramp

primary
#062804
secondary
#661D6B
accent
#30F8ED
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #062804

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

Preview Lab → · Contrast checker → · Palette generator →

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