#062C0C#062C0C

#062C0C is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.8% C 0.070 H 145.8°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#062C0C
RGBrgb(6, 44, 12)
HSLhsl(129, 76%, 10%)
HSVhsv(129, 86%, 17%)
CMYKcmyk(86.4%, 0%, 72.7%, 82.7%)
CIE-LABlab(14.77, -21.55, 16.12)
CIE-LCHlch(14.77, 26.92, 143.20°)
OKLaboklab(25.81% -0.0582 0.0395)
OKLCHoklch(25.81% 0.07 145.8)
XYZxyz(1.0421, 1.8665, 0.6531)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062C0C #2C0626
analogous
#132C06 #062C0C #062C1F
triadic
#062C0C #0C062C #2C0C06
tetradic
#062C0C #06132C #2C0626 #2C1F06
square
#062C0C #06132C #2C0626 #2C1F06
split-complementary
#062C0C #1F062C #2C0613
monochromatic
#041B07 #041B07 #062C0C #0D621B #159829

Accessibility & contrast

On white

15.29
#062C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#062C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062C0C
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062C0C#FFFFFF#000000##FFFFFF
##062C0C1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2709
Deuteranopia (green-blind)
#28240F
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #062c0c;
/* rgb */ color: rgb(6, 44, 12);
/* oklch */ color: oklch(25.8% 0.070 145.8);
Tailwind
colors: {
  custom: {
    50: '#4c654c',
    500: '#062c0c',
    950: '#000000',
  },
}
SCSS
$custom: #062c0c;
$custom-light: #4c654c;
$custom-dark: #000000;
JSON
{
  "hex": "#062c0c",
  "rgb": {
    "r": 6,
    "g": 44,
    "b": 12
  },
  "hsl": {
    "h": 129.474,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25809,
    "c": 0.07028,
    "h": 145.8
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#062C0C
secondary
#6D2161
accent
#35D5F3
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #062C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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