#062802#062802

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

Color values

HEX#062802
RGBrgb(6, 40, 2)
HSLhsl(114, 90%, 8%)
HSVhsv(114, 95%, 16%)
CMYKcmyk(85%, 0%, 95%, 84.3%)
CIE-LABlab(12.99, -21.38, 17.90)
CIE-LCHlch(12.99, 27.88, 140.06°)
OKLaboklab(24.29% -0.0585 0.0475)
OKLCHoklch(24.29% 0.075 140.9)
XYZxyz(0.8448, 1.5606, 0.3141)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062802 #240228
analogous
#192802 #062802 #022811
triadic
#062802 #020628 #280206
tetradic
#062802 #021928 #240228 #281102
square
#062802 #021928 #240228 #281102
split-complementary
#062802 #110228 #280219
monochromatic
#041D01 #041D01 #062802 #0F6205 #179D08

Accessibility & contrast

On white

16.00
#062802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062802
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062802#FFFFFF#000000##FFFFFF
##0628021.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#252005
Tritanopia (blue-blind)
#022621
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #062802;
/* rgb */ color: rgb(6, 40, 2);
/* oklch */ color: oklch(24.3% 0.075 140.9);
Tailwind
colors: {
  custom: {
    50: '#4a6247',
    500: '#062802',
    950: '#000000',
  },
}
SCSS
$custom: #062802;
$custom-light: #4a6247;
$custom-dark: #000000;
JSON
{
  "hex": "#062802",
  "rgb": {
    "r": 6,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 113.684,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.2429,
    "c": 0.07531,
    "h": 140.9
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#062802
secondary
#64196D
accent
#29FFE8
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #062802

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

Preview Lab → · Contrast checker → · Palette generator →

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