#062F02#062F02

#062F02 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.7% C 0.085 H 141.3°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#062F02
RGBrgb(6, 47, 2)
HSLhsl(115, 92%, 10%)
HSVhsv(115, 96%, 18%)
CMYKcmyk(87.2%, 0%, 95.7%, 81.6%)
CIE-LABlab(15.88, -24.24, 21.66)
CIE-LCHlch(15.88, 32.50, 138.21°)
OKLaboklab(26.69% -0.0662 0.0529)
OKLCHoklch(26.69% 0.085 141.3)
XYZxyz(1.1025, 2.0760, 0.4000)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062F02 #2B022F
analogous
#1D2F02 #062F02 #022F15
triadic
#062F02 #02062F #2F0206
tetradic
#062F02 #021D2F #2B022F #2F1502
square
#062F02 #021D2F #2B022F #2F1502
split-complementary
#062F02 #15022F #2F021D
monochromatic
#041D01 #041D01 #062F02 #0D6A04 #15A407

Accessibility & contrast

On white

14.84
#062F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#062F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062F02
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062F02#FFFFFF#000000##FFFFFF
##062F021.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2C2606
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #062f02;
/* rgb */ color: rgb(6, 47, 2);
/* oklch */ color: oklch(26.7% 0.085 141.3);
Tailwind
colors: {
  custom: {
    50: '#4d6848',
    500: '#062f02',
    950: '#000000',
  },
}
SCSS
$custom: #062f02;
$custom-light: #4d6848;
$custom-dark: #000000;
JSON
{
  "hex": "#062f02",
  "rgb": {
    "r": 6,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 114.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26693,
    "c": 0.08474,
    "h": 141.3
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#062F02
secondary
#6C1974
accent
#29FFEC
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #062F02

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

Preview Lab → · Contrast checker → · Palette generator →

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