#08381E#08381E

#08381E is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.2% C 0.069 H 154.4°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#08381E
RGBrgb(8, 56, 30)
HSLhsl(148, 75%, 13%)
HSVhsv(148, 86%, 22%)
CMYKcmyk(85.7%, 0%, 46.4%, 78%)
CIE-LABlab(19.94, -22.91, 11.88)
CIE-LCHlch(19.94, 25.81, 152.60°)
OKLaboklab(30.2% -0.0618 0.0296)
OKLCHoklch(30.2% 0.069 154.4)
XYZxyz(1.7485, 2.9735, 1.7098)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08381E #380822
analogous
#0A3808 #08381E #083836
triadic
#08381E #1E0838 #381E08
tetradic
#08381E #080A38 #380822 #383608
square
#08381E #080A38 #380822 #383608
split-complementary
#08381E #360838 #38080A
monochromatic
#041B0E #041B0E #08381E #106E3B #17A357

Accessibility & contrast

On white

13.17
#08381E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08381E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08381E#FFFFFF#000000##FFFFFF
##08381E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331C
Deuteranopia (green-blind)
#322F20
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #08381e;
/* rgb */ color: rgb(8, 56, 30);
/* oklch */ color: oklch(30.2% 0.069 154.4);
Tailwind
colors: {
  custom: {
    50: '#506f5a',
    500: '#08381e',
    950: '#000000',
  },
}
SCSS
$custom: #08381e;
$custom-light: #506f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08381e",
  "rgb": {
    "r": 8,
    "g": 56,
    "b": 30
  },
  "hsl": {
    "h": 147.5,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30199,
    "c": 0.0685,
    "h": 154.4
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#08381E
secondary
#772551
accent
#369CF2
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #08381E

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

Preview Lab → · Contrast checker → · Palette generator →

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