#062A0F#062A0F

#062A0F is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.2% C 0.064 H 148.2°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#062A0F
RGBrgb(6, 42, 15)
HSLhsl(135, 75%, 9%)
HSVhsv(135, 86%, 16%)
CMYKcmyk(85.7%, 0%, 64.3%, 83.5%)
CIE-LABlab(14.00, -20.13, 13.64)
CIE-LCHlch(14.00, 24.31, 145.87°)
OKLaboklab(25.18% -0.0542 0.0337)
OKLCHoklch(25.18% 0.064 148.2)
XYZxyz(0.9892, 1.7290, 0.7334)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A0F #2A0621
analogous
#0F2A06 #062A0F #062A21
triadic
#062A0F #0F062A #2A0F06
tetradic
#062A0F #060F2A #2A0621 #2A2106
square
#062A0F #060F2A #2A0621 #2A2106
split-complementary
#062A0F #21062A #2A060F
monochromatic
#041B0A #041B0A #062A0F #0E6022 #159535

Accessibility & contrast

On white

15.60
#062A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#062A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062A0F
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A0F#FFFFFF#000000##FFFFFF
##062A0F1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B250D
Deuteranopia (green-blind)
#262211
Tritanopia (blue-blind)
#002924
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #062a0f;
/* rgb */ color: rgb(6, 42, 15);
/* oklch */ color: oklch(25.2% 0.064 148.2);
Tailwind
colors: {
  custom: {
    50: '#4b644e',
    500: '#062a0f',
    950: '#000000',
  },
}
SCSS
$custom: #062a0f;
$custom-light: #4b644e;
$custom-dark: #000000;
JSON
{
  "hex": "#062a0f",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 15
  },
  "hsl": {
    "h": 135,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25183,
    "c": 0.0638,
    "h": 148.2
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#062A0F
secondary
#6B2158
accent
#36C3F2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #062A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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