#062F0B#062F0B

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

Color values

HEX#062F0B
RGBrgb(6, 47, 11)
HSLhsl(127, 77%, 10%)
HSVhsv(127, 87%, 18%)
CMYKcmyk(87.2%, 0%, 76.6%, 81.6%)
CIE-LABlab(15.98, -23.00, 18.11)
CIE-LCHlch(15.98, 29.28, 141.79°)
OKLaboklab(26.81% -0.0621 0.0435)
OKLCHoklch(26.81% 0.076 145)
XYZxyz(1.1519, 2.0958, 0.6604)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062F0B #2F062A
analogous
#152F06 #062F0B #062F1F
triadic
#062F0B #0B062F #2F0B06
tetradic
#062F0B #06152F #2F062A #2F1F06
square
#062F0B #06152F #2F062A #2F1F06
split-complementary
#062F0B #1F062F #2F0615
monochromatic
#031B06 #031B06 #062F0B #0D6518 #149C24

Accessibility & contrast

On white

14.80
#062F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062F0B
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062F0B#FFFFFF#000000##FFFFFF
##062F0B1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A07
Deuteranopia (green-blind)
#2B260E
Tritanopia (blue-blind)
#002E27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #062f0b;
/* rgb */ color: rgb(6, 47, 11);
/* oklch */ color: oklch(26.8% 0.076 145.0);
Tailwind
colors: {
  custom: {
    50: '#4d684c',
    500: '#062f0b',
    950: '#000000',
  },
}
SCSS
$custom: #062f0b;
$custom-light: #4d684c;
$custom-dark: #000000;
JSON
{
  "hex": "#062f0b",
  "rgb": {
    "r": 6,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 127.317,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26809,
    "c": 0.07587,
    "h": 145
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#062F0B
secondary
#702166
accent
#34DCF4
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #062F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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