#062A07#062A07

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

Color values

HEX#062A07
RGBrgb(6, 42, 7)
HSLhsl(122, 75%, 9%)
HSVhsv(122, 86%, 16%)
CMYKcmyk(85.7%, 0%, 83.3%, 83.5%)
CIE-LABlab(13.88, -21.44, 17.05)
CIE-LCHlch(13.88, 27.39, 141.50°)
OKLaboklab(25.06% -0.0581 0.043)
OKLCHoklch(25.06% 0.072 143.5)
XYZxyz(0.9414, 1.7099, 0.4814)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A07 #2A0629
analogous
#172A06 #062A07 #062A19
triadic
#062A07 #07062A #2A0706
tetradic
#062A07 #06172A #2A0629 #2A1906
square
#062A07 #06172A #2A0629 #2A1906
split-complementary
#062A07 #19062A #2A0617
monochromatic
#041B04 #041B04 #062A07 #0E6010 #159519

Accessibility & contrast

On white

15.65
#062A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062A07
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A07#FFFFFF#000000##FFFFFF
##062A071.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #062a07;
/* rgb */ color: rgb(6, 42, 7);
/* oklch */ color: oklch(25.1% 0.072 143.5);
Tailwind
colors: {
  custom: {
    50: '#4b644a',
    500: '#062a07',
    950: '#000000',
  },
}
SCSS
$custom: #062a07;
$custom-light: #4b644a;
$custom-dark: #000000;
JSON
{
  "hex": "#062a07",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 121.667,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25055,
    "c": 0.07231,
    "h": 143.5
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#062A07
secondary
#6B2169
accent
#36ECF2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #062A07

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

Preview Lab → · Contrast checker → · Palette generator →

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