#08381C#08381C

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

Color values

HEX#08381C
RGBrgb(8, 56, 28)
HSLhsl(145, 75%, 13%)
HSVhsv(145, 86%, 22%)
CMYKcmyk(85.7%, 0%, 50%, 78%)
CIE-LABlab(19.90, -23.36, 13.11)
CIE-LCHlch(19.90, 26.79, 150.69°)
OKLaboklab(30.15% -0.0629 0.0324)
OKLCHoklch(30.15% 0.071 152.7)
XYZxyz(1.7238, 2.9636, 1.5796)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08381C #380824
analogous
#0C3808 #08381C #083834
triadic
#08381C #1C0838 #381C08
tetradic
#08381C #080C38 #380824 #383408
square
#08381C #080C38 #380824 #383408
split-complementary
#08381C #340838 #38080C
monochromatic
#041B0D #041B0D #08381C #106E37 #17A352

Accessibility & contrast

On white

13.18
#08381C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08381C
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08381C#FFFFFF#000000##FFFFFF
##08381C1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08381c;
/* rgb */ color: rgb(8, 56, 28);
/* oklch */ color: oklch(30.2% 0.071 152.7);
Tailwind
colors: {
  custom: {
    50: '#506f58',
    500: '#08381c',
    950: '#000000',
  },
}
SCSS
$custom: #08381c;
$custom-light: #506f58;
$custom-dark: #000000;
JSON
{
  "hex": "#08381c",
  "rgb": {
    "r": 8,
    "g": 56,
    "b": 28
  },
  "hsl": {
    "h": 145,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30153,
    "c": 0.07077,
    "h": 152.7
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#08381C
secondary
#772555
accent
#36A4F2
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #08381C

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

Preview Lab → · Contrast checker → · Palette generator →

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