#062C02#062C02

#062C02 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.7% C 0.081 H 141.2°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#062C02
RGBrgb(6, 44, 2)
HSLhsl(114, 91%, 9%)
HSVhsv(114, 95%, 17%)
CMYKcmyk(86.4%, 0%, 95.5%, 82.7%)
CIE-LABlab(14.65, -23.03, 20.09)
CIE-LCHlch(14.65, 30.56, 138.91°)
OKLaboklab(25.67% -0.0629 0.0506)
OKLCHoklch(25.67% 0.081 141.2)
XYZxyz(0.9867, 1.8444, 0.3614)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062C02 #28022C
analogous
#1B2C02 #062C02 #022C13
triadic
#062C02 #02062C #2C0206
tetradic
#062C02 #021B2C #28022C #2C1302
square
#062C02 #021B2C #28022C #2C1302
split-complementary
#062C02 #13022C #2C021B
monochromatic
#041D01 #041D01 #062C02 #0E6705 #16A107

Accessibility & contrast

On white

15.34
#062C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#062C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062C02
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062C02#FFFFFF#000000##FFFFFF
##062C021.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#292405
Tritanopia (blue-blind)
#012A24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #062c02;
/* rgb */ color: rgb(6, 44, 2);
/* oklch */ color: oklch(25.7% 0.081 141.2);
Tailwind
colors: {
  custom: {
    50: '#4c6647',
    500: '#062c02',
    950: '#000000',
  },
}
SCSS
$custom: #062c02;
$custom-light: #4c6647;
$custom-dark: #000000;
JSON
{
  "hex": "#062c02",
  "rgb": {
    "r": 6,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 114.286,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.25669,
    "c": 0.08076,
    "h": 141.2
  },
  "luminance": 0.01844
}

Semantic roles & 50–950 ramp

primary
#062C02
secondary
#691971
accent
#29FFEB
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #062C02

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

Preview Lab → · Contrast checker → · Palette generator →

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