#08270C#08270C

#08270C is a very dark, moderate green. Relative luminance 0.015; OKLCH L 24.2% C 0.061 H 145.7°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#08270C
RGBrgb(8, 39, 12)
HSLhsl(128, 66%, 9%)
HSVhsv(128, 79%, 15%)
CMYKcmyk(79.5%, 0%, 69.2%, 84.7%)
CIE-LABlab(12.79, -18.64, 13.53)
CIE-LCHlch(12.79, 23.03, 144.02°)
OKLaboklab(24.2% -0.0504 0.0344)
OKLCHoklch(24.2% 0.061 145.7)
XYZxyz(0.8920, 1.5291, 0.5959)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08270C #270823
analogous
#142708 #08270C #08271C
triadic
#08270C #0C0827 #270C08
tetradic
#08270C #081427 #270823 #271C08
square
#08270C #081427 #270823 #271C08
split-complementary
#08270C #1C0827 #270814
monochromatic
#051908 #051908 #08270C #125A1C #1D8D2B

Accessibility & contrast

On white

16.08
#08270C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#08270C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08270C
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08270C#FFFFFF#000000##FFFFFF
##08270C1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282309
Deuteranopia (green-blind)
#24200E
Tritanopia (blue-blind)
#032621
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #08270c;
/* rgb */ color: rgb(8, 39, 12);
/* oklch */ color: oklch(24.2% 0.061 145.7);
Tailwind
colors: {
  custom: {
    50: '#4b614c',
    500: '#08270c',
    950: '#000000',
  },
}
SCSS
$custom: #08270c;
$custom-light: #4b614c;
$custom-dark: #000000;
JSON
{
  "hex": "#08270c",
  "rgb": {
    "r": 8,
    "g": 39,
    "b": 12
  },
  "hsl": {
    "h": 127.742,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.24195,
    "c": 0.06103,
    "h": 145.7
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#08270C
secondary
#65255D
accent
#3FD3E9
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #08270C

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

Preview Lab → · Contrast checker → · Palette generator →

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