#051908#051908

#051908 is a very dark, muted green. Relative luminance 0.007; OKLCH L 19.1% C 0.043 H 147.4°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#051908
RGBrgb(5, 25, 8)
HSLhsl(129, 67%, 6%)
HSVhsv(129, 80%, 10%)
CMYKcmyk(80%, 0%, 68%, 90.2%)
CIE-LABlab(6.73, -10.41, 6.60)
CIE-LCHlch(6.73, 12.33, 147.61°)
OKLaboklab(19.07% -0.0364 0.0233)
OKLCHoklch(19.07% 0.043 147.4)
XYZxyz(0.4540, 0.7450, 0.3496)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051908 #190516
analogous
#0C1905 #051908 #051912
triadic
#051908 #080519 #190805
tetradic
#051908 #050C19 #190516 #191205
square
#051908 #050C19 #190516 #191205
split-complementary
#051908 #120519 #19050C
monochromatic
#051A08 #051A08 #051A08 #0F4C18 #197F29

Accessibility & contrast

On white

18.28
#051908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#051908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051908
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051908#FFFFFF#000000##FFFFFF
##0519081.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191607
Deuteranopia (green-blind)
#171409
Tritanopia (blue-blind)
#021815
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #051908;
/* rgb */ color: rgb(5, 25, 8);
/* oklch */ color: oklch(19.1% 0.043 147.4);
Tailwind
colors: {
  custom: {
    50: '#48554a',
    500: '#051908',
    950: '#000000',
  },
}
SCSS
$custom: #051908;
$custom-light: #48554a;
$custom-dark: #000000;
JSON
{
  "hex": "#051908",
  "rgb": {
    "r": 5,
    "g": 25,
    "b": 8
  },
  "hsl": {
    "h": 129,
    "s": 66.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.19074,
    "c": 0.04322,
    "h": 147.4
  },
  "luminance": 0.00745
}

Semantic roles & 50–950 ramp

primary
#051908
secondary
#592051
accent
#3ED0EA
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000301
muted
#777877

Preview Lab

Preview with #051908

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

Preview Lab → · Contrast checker → · Palette generator →

#051908 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva