#062F0C#062F0C

#062F0C is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.8% C 0.075 H 145.4°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#062F0C
RGBrgb(6, 47, 12)
HSLhsl(129, 77%, 10%)
HSVhsv(129, 87%, 18%)
CMYKcmyk(87.2%, 0%, 74.5%, 81.6%)
CIE-LABlab(15.99, -22.86, 17.68)
CIE-LCHlch(15.99, 28.90, 142.28°)
OKLaboklab(26.82% -0.0617 0.0425)
OKLCHoklch(26.82% 0.075 145.4)
XYZxyz(1.1579, 2.0982, 0.6917)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062F0C #2F0629
analogous
#152F06 #062F0C #062F20
triadic
#062F0C #0C062F #2F0C06
tetradic
#062F0C #06152F #2F0629 #2F2006
square
#062F0C #06152F #2F0629 #2F2006
split-complementary
#062F0C #20062F #2F0615
monochromatic
#031B07 #031B07 #062F0C #0D651A #149C28

Accessibility & contrast

On white

14.79
#062F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062F0C
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062F0C#FFFFFF#000000##FFFFFF
##062F0C1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A08
Deuteranopia (green-blind)
#2B260F
Tritanopia (blue-blind)
#002E28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #062f0c;
/* rgb */ color: rgb(6, 47, 12);
/* oklch */ color: oklch(26.8% 0.075 145.4);
Tailwind
colors: {
  custom: {
    50: '#4d684c',
    500: '#062f0c',
    950: '#000000',
  },
}
SCSS
$custom: #062f0c;
$custom-light: #4d684c;
$custom-dark: #000000;
JSON
{
  "hex": "#062f0c",
  "rgb": {
    "r": 6,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 128.78,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26823,
    "c": 0.0749,
    "h": 145.4
  },
  "luminance": 0.02098
}

Semantic roles & 50–950 ramp

primary
#062F0C
secondary
#702164
accent
#34D8F4
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #062F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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