#062F04#062F04

#062F04 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.7% C 0.083 H 142.1°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#062F04
RGBrgb(6, 47, 4)
HSLhsl(117, 84%, 10%)
HSVhsv(117, 91%, 18%)
CMYKcmyk(87.2%, 0%, 91.5%, 81.6%)
CIE-LABlab(15.90, -23.96, 20.87)
CIE-LCHlch(15.90, 31.77, 138.93°)
OKLaboklab(26.72% -0.0652 0.0507)
OKLCHoklch(26.72% 0.083 142.1)
XYZxyz(1.1135, 2.0804, 0.4577)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062F04 #2D042F
analogous
#1C2F04 #062F04 #042F17
triadic
#062F04 #04062F #2F0406
tetradic
#062F04 #041C2F #2D042F #2F1704
square
#062F04 #041C2F #2D042F #2F1704
split-complementary
#062F04 #17042F #2F041C
monochromatic
#041C02 #041C02 #062F04 #0D6709 #14A00E

Accessibility & contrast

On white

14.83
#062F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062F04
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062F04#FFFFFF#000000##FFFFFF
##062F041.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A00
Deuteranopia (green-blind)
#2C2608
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #062f04;
/* rgb */ color: rgb(6, 47, 4);
/* oklch */ color: oklch(26.7% 0.083 142.1);
Tailwind
colors: {
  custom: {
    50: '#4d6848',
    500: '#062f04',
    950: '#000000',
  },
}
SCSS
$custom: #062f04;
$custom-light: #4d6848;
$custom-dark: #000000;
JSON
{
  "hex": "#062f04",
  "rgb": {
    "r": 6,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 117.209,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.26719,
    "c": 0.08263,
    "h": 142.1
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#062F04
secondary
#6E1D72
accent
#2DFBF1
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #062F04

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

Preview Lab → · Contrast checker → · Palette generator →

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