#062C0B#062C0B

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

Color values

HEX#062C0B
RGBrgb(6, 44, 11)
HSLhsl(128, 76%, 10%)
HSVhsv(128, 86%, 17%)
CMYKcmyk(86.4%, 0%, 75%, 82.7%)
CIE-LABlab(14.76, -21.71, 16.55)
CIE-LCHlch(14.76, 27.30, 142.68°)
OKLaboklab(25.79% -0.0586 0.0406)
OKLCHoklch(25.79% 0.071 145.3)
XYZxyz(1.0361, 1.8641, 0.6218)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062C0B #2C0627
analogous
#142C06 #062C0B #062C1E
triadic
#062C0B #0B062C #2C0B06
tetradic
#062C0B #06142C #2C0627 #2C1E06
square
#062C0B #06142C #2C0627 #2C1E06
split-complementary
#062C0B #1E062C #2C0614
monochromatic
#041B07 #041B07 #062C0B #0D6218 #159826

Accessibility & contrast

On white

15.30
#062C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062C0B
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062C0B#FFFFFF#000000##FFFFFF
##062C0B1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #062c0b;
/* rgb */ color: rgb(6, 44, 11);
/* oklch */ color: oklch(25.8% 0.071 145.3);
Tailwind
colors: {
  custom: {
    50: '#4c654c',
    500: '#062c0b',
    950: '#000000',
  },
}
SCSS
$custom: #062c0b;
$custom-light: #4c654c;
$custom-dark: #000000;
JSON
{
  "hex": "#062c0b",
  "rgb": {
    "r": 6,
    "g": 44,
    "b": 11
  },
  "hsl": {
    "h": 127.895,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25794,
    "c": 0.0713,
    "h": 145.3
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#062C0B
secondary
#6D2163
accent
#35DAF3
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #062C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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