#08381A#08381A

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

Color values

HEX#08381A
RGBrgb(8, 56, 26)
HSLhsl(143, 75%, 13%)
HSVhsv(143, 86%, 22%)
CMYKcmyk(85.7%, 0%, 53.6%, 78%)
CIE-LABlab(19.86, -23.80, 14.34)
CIE-LCHlch(19.86, 27.78, 148.93°)
OKLaboklab(30.11% -0.064 0.0352)
OKLCHoklch(30.11% 0.073 151.2)
XYZxyz(1.7006, 2.9544, 1.4577)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08381A #380826
analogous
#0E3808 #08381A #083832
triadic
#08381A #1A0838 #381A08
tetradic
#08381A #080E38 #380826 #383208
square
#08381A #080E38 #380826 #383208
split-complementary
#08381A #320838 #38080E
monochromatic
#041B0C #041B0C #08381A #106E33 #17A34C

Accessibility & contrast

On white

13.20
#08381A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08381A
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08381A#FFFFFF#000000##FFFFFF
##08381A1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383218
Deuteranopia (green-blind)
#332E1C
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #08381a;
/* rgb */ color: rgb(8, 56, 26);
/* oklch */ color: oklch(30.1% 0.073 151.2);
Tailwind
colors: {
  custom: {
    50: '#506f57',
    500: '#08381a',
    950: '#000000',
  },
}
SCSS
$custom: #08381a;
$custom-light: #506f57;
$custom-dark: #000000;
JSON
{
  "hex": "#08381a",
  "rgb": {
    "r": 8,
    "g": 56,
    "b": 26
  },
  "hsl": {
    "h": 142.5,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3011,
    "c": 0.07303,
    "h": 151.2
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#08381A
secondary
#772558
accent
#36ABF2
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #08381A

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

Preview Lab → · Contrast checker → · Palette generator →

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