#08310F#08310F

#08310F is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.6% C 0.074 H 146.0°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#08310F
RGBrgb(8, 49, 15)
HSLhsl(130, 72%, 11%)
HSVhsv(130, 84%, 19%)
CMYKcmyk(83.7%, 0%, 69.4%, 80.8%)
CIE-LABlab(16.91, -22.73, 17.35)
CIE-LCHlch(16.91, 28.60, 142.65°)
OKLaboklab(27.61% -0.0613 0.0414)
OKLCHoklch(27.61% 0.074 146)
XYZxyz(1.2846, 2.2826, 0.8247)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08310F #31082A
analogous
#153108 #08310F #083123
triadic
#08310F #0F0831 #310F08
tetradic
#08310F #081531 #31082A #312308
square
#08310F #081531 #31082A #312308
split-complementary
#08310F #230831 #310815
monochromatic
#041A08 #041A08 #08310F #11661F #199A2F

Accessibility & contrast

On white

14.42
#08310F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#08310F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08310F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08310F#FFFFFF#000000##FFFFFF
##08310F1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#2D2812
Tritanopia (blue-blind)
#00302A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #08310f;
/* rgb */ color: rgb(8, 49, 15);
/* oklch */ color: oklch(27.6% 0.074 146.0);
Tailwind
colors: {
  custom: {
    50: '#4e694e',
    500: '#08310f',
    950: '#000000',
  },
}
SCSS
$custom: #08310f;
$custom-light: #4e694e;
$custom-dark: #000000;
JSON
{
  "hex": "#08310f",
  "rgb": {
    "r": 8,
    "g": 49,
    "b": 15
  },
  "hsl": {
    "h": 130.244,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27609,
    "c": 0.07399,
    "h": 146
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#08310F
secondary
#702563
accent
#39D0EF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #08310F

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

Preview Lab → · Contrast checker → · Palette generator →

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