#08381F#08381F

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

Color values

HEX#08381F
RGBrgb(8, 56, 31)
HSLhsl(149, 75%, 13%)
HSVhsv(149, 86%, 22%)
CMYKcmyk(85.7%, 0%, 44.6%, 78%)
CIE-LABlab(19.96, -22.68, 11.25)
CIE-LCHlch(19.96, 25.31, 153.60°)
OKLaboklab(30.22% -0.0612 0.0281)
OKLCHoklch(30.22% 0.067 155.3)
XYZxyz(1.7615, 2.9787, 1.7782)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08381F #380821
analogous
#093808 #08381F #083837
triadic
#08381F #1F0838 #381F08
tetradic
#08381F #080938 #380821 #383708
square
#08381F #080938 #380821 #383708
split-complementary
#08381F #370838 #380809
monochromatic
#041B0F #041B0F #08381F #106E3D #17A35A

Accessibility & contrast

On white

13.16
#08381F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#08381F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08381F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08381F#FFFFFF#000000##FFFFFF
##08381F1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331D
Deuteranopia (green-blind)
#322F21
Tritanopia (blue-blind)
#003732
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #08381f;
/* rgb */ color: rgb(8, 56, 31);
/* oklch */ color: oklch(30.2% 0.067 155.3);
Tailwind
colors: {
  custom: {
    50: '#506f5a',
    500: '#08381f',
    950: '#000000',
  },
}
SCSS
$custom: #08381f;
$custom-light: #506f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08381f",
  "rgb": {
    "r": 8,
    "g": 56,
    "b": 31
  },
  "hsl": {
    "h": 148.75,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30223,
    "c": 0.06736,
    "h": 155.3
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#08381F
secondary
#772550
accent
#3698F2
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #08381F

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

Preview Lab → · Contrast checker → · Palette generator →

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