#062C0F#062C0F

#062C0F is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.9% C 0.067 H 147.7°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#062C0F
RGBrgb(6, 44, 15)
HSLhsl(134, 76%, 10%)
HSVhsv(134, 86%, 17%)
CMYKcmyk(86.4%, 0%, 65.9%, 82.7%)
CIE-LABlab(14.81, -21.04, 14.70)
CIE-LCHlch(14.81, 25.67, 145.06°)
OKLaboklab(25.86% -0.0567 0.0359)
OKLCHoklch(25.86% 0.067 147.7)
XYZxyz(1.0619, 1.8745, 0.7577)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062C0F #2C0623
analogous
#102C06 #062C0F #062C22
triadic
#062C0F #0F062C #2C0F06
tetradic
#062C0F #06102C #2C0623 #2C2206
square
#062C0F #06102C #2C0623 #2C2206
split-complementary
#062C0F #22062C #2C0610
monochromatic
#041B09 #041B09 #062C0F #0D6221 #159834

Accessibility & contrast

On white

15.27
#062C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#062C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062C0F
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062C0F#FFFFFF#000000##FFFFFF
##062C0F1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270C
Deuteranopia (green-blind)
#282411
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #062c0f;
/* rgb */ color: rgb(6, 44, 15);
/* oklch */ color: oklch(25.9% 0.067 147.7);
Tailwind
colors: {
  custom: {
    50: '#4c654e',
    500: '#062c0f',
    950: '#000000',
  },
}
SCSS
$custom: #062c0f;
$custom-light: #4c654e;
$custom-dark: #000000;
JSON
{
  "hex": "#062c0f",
  "rgb": {
    "r": 6,
    "g": 44,
    "b": 15
  },
  "hsl": {
    "h": 134.211,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25859,
    "c": 0.06706,
    "h": 147.7
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#062C0F
secondary
#6D215B
accent
#35C6F3
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #062C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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