#062F18#062F18

#062F18 is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.1% C 0.062 H 154.0°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#062F18
RGBrgb(6, 47, 24)
HSLhsl(146, 77%, 10%)
HSVhsv(146, 87%, 18%)
CMYKcmyk(87.2%, 0%, 48.9%, 81.6%)
CIE-LABlab(16.19, -20.54, 10.87)
CIE-LCHlch(16.19, 23.24, 152.11°)
OKLaboklab(27.05% -0.0554 0.027)
OKLCHoklch(27.05% 0.062 154)
XYZxyz(1.2564, 2.1376, 1.2104)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062F18 #2F061D
analogous
#092F06 #062F18 #062F2C
triadic
#062F18 #18062F #2F1806
tetradic
#062F18 #06092F #2F061D #2F2C06
square
#062F18 #06092F #2F061D #2F2C06
split-complementary
#062F18 #2C062F #2F0609
monochromatic
#031B0E #031B0E #062F18 #0D6534 #149C4F

Accessibility & contrast

On white

14.71
#062F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062F18
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062F18#FFFFFF#000000##FFFFFF
##062F181.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #062f18;
/* rgb */ color: rgb(6, 47, 24);
/* oklch */ color: oklch(27.1% 0.062 154.0);
Tailwind
colors: {
  custom: {
    50: '#4d6855',
    500: '#062f18',
    950: '#000000',
  },
}
SCSS
$custom: #062f18;
$custom-light: #4d6855;
$custom-dark: #000000;
JSON
{
  "hex": "#062f18",
  "rgb": {
    "r": 6,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 146.341,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27053,
    "c": 0.06162,
    "h": 154
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#062F18
secondary
#70214D
accent
#34A0F4
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010603
muted
#777A78

Preview Lab

Preview with #062F18

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

Preview Lab → · Contrast checker → · Palette generator →

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