#062E02#062E02

#062E02 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.4% C 0.083 H 141.3°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#062E02
RGBrgb(6, 46, 2)
HSLhsl(115, 92%, 9%)
HSVhsv(115, 96%, 18%)
CMYKcmyk(87%, 0%, 95.7%, 82%)
CIE-LABlab(15.47, -23.84, 21.14)
CIE-LCHlch(15.47, 31.86, 138.43°)
OKLaboklab(26.35% -0.0651 0.0522)
OKLCHoklch(26.35% 0.083 141.3)
XYZxyz(1.0630, 1.9970, 0.3869)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062E02 #2A022E
analogous
#1C2E02 #062E02 #022E14
triadic
#062E02 #02062E #2E0206
tetradic
#062E02 #021C2E #2A022E #2E1402
square
#062E02 #021C2E #2A022E #2E1402
split-complementary
#062E02 #14022E #2E021C
monochromatic
#041D01 #041D01 #062E02 #0E6905 #15A307

Accessibility & contrast

On white

15.01
#062E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#062E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062E02
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062E02#FFFFFF#000000##FFFFFF
##062E021.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#2B2506
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #062e02;
/* rgb */ color: rgb(6, 46, 2);
/* oklch */ color: oklch(26.4% 0.083 141.3);
Tailwind
colors: {
  custom: {
    50: '#4d6747',
    500: '#062e02',
    950: '#000000',
  },
}
SCSS
$custom: #062e02;
$custom-light: #4d6747;
$custom-dark: #000000;
JSON
{
  "hex": "#062e02",
  "rgb": {
    "r": 6,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 114.545,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26353,
    "c": 0.08342,
    "h": 141.3
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#062E02
secondary
#6B1973
accent
#29FFEC
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #062E02

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

Preview Lab → · Contrast checker → · Palette generator →

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