#062A04#062A04

#062A04 is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.0% C 0.076 H 142.0°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#062A04
RGBrgb(6, 42, 4)
HSLhsl(117, 83%, 9%)
HSVhsv(117, 90%, 16%)
CMYKcmyk(85.7%, 0%, 90.5%, 83.5%)
CIE-LABlab(13.85, -21.90, 18.22)
CIE-LCHlch(13.85, 28.49, 140.23°)
OKLaboklab(25.01% -0.0596 0.0466)
OKLCHoklch(25.01% 0.076 142)
XYZxyz(0.9249, 1.7033, 0.3949)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A04 #28042A
analogous
#192A04 #062A04 #042A15
triadic
#062A04 #04062A #2A0406
tetradic
#062A04 #04192A #28042A #2A1504
square
#062A04 #04192A #28042A #2A1504
split-complementary
#062A04 #15042A #2A0419
monochromatic
#041C03 #041C03 #062A04 #0E6209 #169A0F

Accessibility & contrast

On white

15.66
#062A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#062A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062A04
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A04#FFFFFF#000000##FFFFFF
##062A041.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2501
Deuteranopia (green-blind)
#272207
Tritanopia (blue-blind)
#012822
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #062a04;
/* rgb */ color: rgb(6, 42, 4);
/* oklch */ color: oklch(25.0% 0.076 142.0);
Tailwind
colors: {
  custom: {
    50: '#4b6448',
    500: '#062a04',
    950: '#000000',
  },
}
SCSS
$custom: #062a04;
$custom-light: #4b6448;
$custom-dark: #000000;
JSON
{
  "hex": "#062a04",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 4
  },
  "hsl": {
    "h": 116.842,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.25011,
    "c": 0.07567,
    "h": 142
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#062A04
secondary
#691D6D
accent
#2FF9EE
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #062A04

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

Preview Lab → · Contrast checker → · Palette generator →

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