#08381B#08381B

#08381B is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.1% C 0.072 H 152.0°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#08381B
RGBrgb(8, 56, 27)
HSLhsl(144, 75%, 13%)
HSVhsv(144, 86%, 22%)
CMYKcmyk(85.7%, 0%, 51.8%, 78%)
CIE-LABlab(19.88, -23.58, 13.73)
CIE-LCHlch(19.88, 27.29, 149.79°)
OKLaboklab(30.13% -0.0635 0.0338)
OKLCHoklch(30.13% 0.072 152)
XYZxyz(1.7120, 2.9589, 1.5176)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08381B #380825
analogous
#0D3808 #08381B #083833
triadic
#08381B #1B0838 #381B08
tetradic
#08381B #080D38 #380825 #383308
square
#08381B #080D38 #380825 #383308
split-complementary
#08381B #330838 #38080D
monochromatic
#041B0D #041B0D #08381B #106E35 #17A34F

Accessibility & contrast

On white

13.19
#08381B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#08381B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08381B
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08381B#FFFFFF#000000##FFFFFF
##08381B1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383219
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #08381b;
/* rgb */ color: rgb(8, 56, 27);
/* oklch */ color: oklch(30.1% 0.072 152.0);
Tailwind
colors: {
  custom: {
    50: '#506f57',
    500: '#08381b',
    950: '#000000',
  },
}
SCSS
$custom: #08381b;
$custom-light: #506f57;
$custom-dark: #000000;
JSON
{
  "hex": "#08381b",
  "rgb": {
    "r": 8,
    "g": 56,
    "b": 27
  },
  "hsl": {
    "h": 143.75,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30131,
    "c": 0.0719,
    "h": 152
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#08381B
secondary
#772556
accent
#36A7F2
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #08381B

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

Preview Lab → · Contrast checker → · Palette generator →

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