#08341F#08341F

#08341F is a dark, moderate teal. Relative luminance 0.026; OKLCH L 28.9% C 0.061 H 157.7°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#08341F
RGBrgb(8, 52, 31)
HSLhsl(151, 73%, 12%)
HSVhsv(151, 85%, 20%)
CMYKcmyk(84.6%, 0%, 40.4%, 79.6%)
CIE-LABlab(18.39, -20.77, 9.15)
CIE-LCHlch(18.39, 22.69, 156.21°)
OKLaboklab(28.93% -0.0563 0.0231)
OKLCHoklch(28.93% 0.061 157.7)
XYZxyz(1.5753, 2.6064, 1.7161)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08341F #34081D
analogous
#083409 #08341F #083334
triadic
#08341F #1F0834 #341F08
tetradic
#08341F #090834 #34081D #333408
square
#08341F #090834 #34081D #333408
split-complementary
#08341F #340833 #340908
monochromatic
#041B10 #041B10 #08341F #10693F #189E5E

Accessibility & contrast

On white

13.80
#08341F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#08341F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08341F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08341F#FFFFFF#000000##FFFFFF
##08341F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#2E2B20
Tritanopia (blue-blind)
#00342F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #08341f;
/* rgb */ color: rgb(8, 52, 31);
/* oklch */ color: oklch(28.9% 0.061 157.7);
Tailwind
colors: {
  custom: {
    50: '#4f6c5a',
    500: '#08341f',
    950: '#000000',
  },
}
SCSS
$custom: #08341f;
$custom-light: #4f6c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08341f",
  "rgb": {
    "r": 8,
    "g": 52,
    "b": 31
  },
  "hsl": {
    "h": 151.364,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28933,
    "c": 0.06084,
    "h": 157.7
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#08341F
secondary
#73254A
accent
#3890F0
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020704
muted
#787A79

Preview Lab

Preview with #08341F

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

Preview Lab → · Contrast checker → · Palette generator →

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