#062D02#062D02

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

Color values

HEX#062D02
RGBrgb(6, 45, 2)
HSLhsl(114, 91%, 9%)
HSVhsv(114, 96%, 18%)
CMYKcmyk(86.7%, 0%, 95.6%, 82.4%)
CIE-LABlab(15.06, -23.44, 20.62)
CIE-LCHlch(15.06, 31.21, 138.66°)
OKLaboklab(26.01% -0.064 0.0514)
OKLCHoklch(26.01% 0.082 141.2)
XYZxyz(1.0244, 1.9198, 0.3740)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062D02 #29022D
analogous
#1C2D02 #062D02 #022D14
triadic
#062D02 #02062D #2D0206
tetradic
#062D02 #021C2D #29022D #2D1402
square
#062D02 #021C2D #29022D #2D1402
split-complementary
#062D02 #14022D #2D021C
monochromatic
#041D01 #041D01 #062D02 #0E6805 #16A207

Accessibility & contrast

On white

15.17
#062D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062D02
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062D02#FFFFFF#000000##FFFFFF
##062D021.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #062d02;
/* rgb */ color: rgb(6, 45, 2);
/* oklch */ color: oklch(26.0% 0.082 141.2);
Tailwind
colors: {
  custom: {
    50: '#4c6647',
    500: '#062d02',
    950: '#000000',
  },
}
SCSS
$custom: #062d02;
$custom-light: #4c6647;
$custom-dark: #000000;
JSON
{
  "hex": "#062d02",
  "rgb": {
    "r": 6,
    "g": 45,
    "b": 2
  },
  "hsl": {
    "h": 114.419,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26011,
    "c": 0.08209,
    "h": 141.2
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#062D02
secondary
#6A1972
accent
#29FFEB
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #062D02

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

Preview Lab → · Contrast checker → · Palette generator →

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