#062A0B#062A0B

#062A0B is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.1% C 0.068 H 145.6°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#062A0B
RGBrgb(6, 42, 11)
HSLhsl(128, 75%, 9%)
HSVhsv(128, 86%, 16%)
CMYKcmyk(85.7%, 0%, 73.8%, 83.5%)
CIE-LABlab(13.94, -20.83, 15.48)
CIE-LCHlch(13.94, 25.95, 143.37°)
OKLaboklab(25.11% -0.0562 0.0385)
OKLCHoklch(25.11% 0.068 145.6)
XYZxyz(0.9634, 1.7187, 0.5975)
Luminance0.0172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A0B #2A0625
analogous
#132A06 #062A0B #062A1D
triadic
#062A0B #0B062A #2A0B06
tetradic
#062A0B #06132A #2A0625 #2A1D06
square
#062A0B #06132A #2A0625 #2A1D06
split-complementary
#062A0B #1D062A #2A0613
monochromatic
#041B07 #041B07 #062A0B #0E6019 #159527

Accessibility & contrast

On white

15.63
#062A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#062A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062A0B
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A0B#FFFFFF#000000##FFFFFF
##062A0B1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2508
Deuteranopia (green-blind)
#27220E
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #062a0b;
/* rgb */ color: rgb(6, 42, 11);
/* oklch */ color: oklch(25.1% 0.068 145.6);
Tailwind
colors: {
  custom: {
    50: '#4b644c',
    500: '#062a0b',
    950: '#000000',
  },
}
SCSS
$custom: #062a0b;
$custom-light: #4b644c;
$custom-dark: #000000;
JSON
{
  "hex": "#062a0b",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 11
  },
  "hsl": {
    "h": 128.333,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25114,
    "c": 0.06817,
    "h": 145.6
  },
  "luminance": 0.01719
}

Semantic roles & 50–950 ramp

primary
#062A0B
secondary
#6B2160
accent
#36D8F2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #062A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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