#062102#062102

#062102 is a very dark, moderate green. Relative luminance 0.011; OKLCH L 21.8% C 0.065 H 140.3°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#062102
RGBrgb(6, 33, 2)
HSLhsl(112, 89%, 7%)
HSVhsv(112, 94%, 13%)
CMYKcmyk(81.8%, 0%, 93.9%, 87.1%)
CIE-LABlab(10.04, -17.46, 13.84)
CIE-LCHlch(10.04, 22.28, 141.60°)
OKLaboklab(21.84% -0.0502 0.0417)
OKLCHoklch(21.84% 0.065 140.3)
XYZxyz(0.6299, 1.1308, 0.2425)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062102 #1D0221
analogous
#162102 #062102 #02210E
triadic
#062102 #020621 #210206
tetradic
#062102 #021621 #1D0221 #210E02
square
#062102 #021621 #1D0221 #210E02
split-complementary
#062102 #0E0221 #210216
monochromatic
#051D02 #051D02 #062102 #105B05 #1B9409

Accessibility & contrast

On white

17.13
#062102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#062102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062102
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062102#FFFFFF#000000##FFFFFF
##0621021.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D00
Deuteranopia (green-blind)
#1F1B04
Tritanopia (blue-blind)
#03201B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #062102;
/* rgb */ color: rgb(6, 33, 2);
/* oklch */ color: oklch(21.8% 0.065 140.3);
Tailwind
colors: {
  custom: {
    50: '#485c47',
    500: '#062102',
    950: '#000000',
  },
}
SCSS
$custom: #062102;
$custom-light: #485c47;
$custom-dark: #000000;
JSON
{
  "hex": "#062102",
  "rgb": {
    "r": 6,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 112.258,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21843,
    "c": 0.0653,
    "h": 140.3
  },
  "luminance": 0.01131
}

Semantic roles & 50–950 ramp

primary
#062102
secondary
#5D1867
accent
#29FFE3
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #062102

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

Preview Lab → · Contrast checker → · Palette generator →

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