#062F17#062F17

#062F17 is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.0% C 0.063 H 153.0°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#062F17
RGBrgb(6, 47, 23)
HSLhsl(145, 77%, 10%)
HSVhsv(145, 87%, 18%)
CMYKcmyk(87.2%, 0%, 51.1%, 81.6%)
CIE-LABlab(16.17, -20.77, 11.51)
CIE-LCHlch(16.17, 23.75, 151.02°)
OKLaboklab(27.03% -0.056 0.0285)
OKLCHoklch(27.03% 0.063 153)
XYZxyz(1.2462, 2.1335, 1.1566)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062F17 #2F061E
analogous
#092F06 #062F17 #062F2B
triadic
#062F17 #17062F #2F1706
tetradic
#062F17 #06092F #2F061E #2F2B06
square
#062F17 #06092F #2F061E #2F2B06
split-complementary
#062F17 #2B062F #2F0609
monochromatic
#031B0D #031B0D #062F17 #0D6532 #149C4C

Accessibility & contrast

On white

14.72
#062F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#062F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062F17
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062F17#FFFFFF#000000##FFFFFF
##062F171.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A15
Deuteranopia (green-blind)
#2A2719
Tritanopia (blue-blind)
#002E29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #062f17;
/* rgb */ color: rgb(6, 47, 23);
/* oklch */ color: oklch(27.0% 0.063 153.0);
Tailwind
colors: {
  custom: {
    50: '#4d6854',
    500: '#062f17',
    950: '#000000',
  },
}
SCSS
$custom: #062f17;
$custom-light: #4d6854;
$custom-dark: #000000;
JSON
{
  "hex": "#062f17",
  "rgb": {
    "r": 6,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 144.878,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27029,
    "c": 0.06279,
    "h": 153
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#062F17
secondary
#70214F
accent
#34A4F4
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #062F17

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

Preview Lab → · Contrast checker → · Palette generator →

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