#062F08#062F08

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

Color values

HEX#062F08
RGBrgb(6, 47, 8)
HSLhsl(123, 77%, 10%)
HSVhsv(123, 87%, 18%)
CMYKcmyk(87.2%, 0%, 83%, 81.6%)
CIE-LABlab(15.95, -23.41, 19.30)
CIE-LCHlch(15.95, 30.34, 140.50°)
OKLaboklab(26.77% -0.0634 0.0466)
OKLCHoklch(26.77% 0.079 143.7)
XYZxyz(1.1354, 2.0892, 0.5731)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062F08 #2F062D
analogous
#182F06 #062F08 #062F1C
triadic
#062F08 #08062F #2F0806
tetradic
#062F08 #06182F #2F062D #2F1C06
square
#062F08 #06182F #2F062D #2F1C06
split-complementary
#062F08 #1C062F #2F0618
monochromatic
#031B05 #031B05 #062F08 #0D6511 #149C1A

Accessibility & contrast

On white

14.81
#062F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062F08
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062F08#FFFFFF#000000##FFFFFF
##062F081.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #062f08;
/* rgb */ color: rgb(6, 47, 8);
/* oklch */ color: oklch(26.8% 0.079 143.7);
Tailwind
colors: {
  custom: {
    50: '#4d684a',
    500: '#062f08',
    950: '#000000',
  },
}
SCSS
$custom: #062f08;
$custom-light: #4d684a;
$custom-dark: #000000;
JSON
{
  "hex": "#062f08",
  "rgb": {
    "r": 6,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 122.927,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2677,
    "c": 0.07866,
    "h": 143.7
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#062F08
secondary
#70216C
accent
#34EBF4
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #062F08

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

Preview Lab → · Contrast checker → · Palette generator →

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