#06331B#06331B

#06331B is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.4% C 0.065 H 154.8°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#06331B
RGBrgb(6, 51, 27)
HSLhsl(148, 79%, 11%)
HSVhsv(148, 88%, 20%)
CMYKcmyk(88.2%, 0%, 47.1%, 80%)
CIE-LABlab(17.85, -21.72, 11.07)
CIE-LCHlch(17.85, 24.38, 152.99°)
OKLaboklab(28.44% -0.0586 0.0276)
OKLCHoklch(28.44% 0.065 154.8)
XYZxyz(1.4566, 2.4853, 1.4396)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06331B #33061E
analogous
#073306 #06331B #063331
triadic
#06331B #1B0633 #331B06
tetradic
#06331B #060733 #33061E #333106
square
#06331B #060733 #33061E #333106
split-complementary
#06331B #310633 #330607
monochromatic
#031B0E #031B0E #06331B #0C6A38 #13A155

Accessibility & contrast

On white

14.03
#06331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#06331B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06331B
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06331B#FFFFFF#000000##FFFFFF
##06331B1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E19
Deuteranopia (green-blind)
#2D2A1D
Tritanopia (blue-blind)
#00322D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #06331b;
/* rgb */ color: rgb(6, 51, 27);
/* oklch */ color: oklch(28.4% 0.065 154.8);
Tailwind
colors: {
  custom: {
    50: '#4e6b57',
    500: '#06331b',
    950: '#000000',
  },
}
SCSS
$custom: #06331b;
$custom-light: #4e6b57;
$custom-dark: #000000;
JSON
{
  "hex": "#06331b",
  "rgb": {
    "r": 6,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 148,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28442,
    "c": 0.06473,
    "h": 154.8
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#06331B
secondary
#74214D
accent
#329AF5
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #06331B

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

Preview Lab → · Contrast checker → · Palette generator →

#06331B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva