#051B0A#051B0A

#051B0A is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.8% C 0.044 H 149.2°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#051B0A
RGBrgb(5, 27, 10)
HSLhsl(134, 69%, 6%)
HSVhsv(134, 81%, 11%)
CMYKcmyk(81.5%, 0%, 63%, 89.4%)
CIE-LABlab(7.57, -11.76, 7.01)
CIE-LCHlch(7.57, 13.70, 149.19°)
OKLaboklab(19.83% -0.038 0.0226)
OKLCHoklch(19.83% 0.044 149.2)
XYZxyz(0.5093, 0.8380, 0.4220)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051B0A #1B0516
analogous
#0B1B05 #051B0A #051B15
triadic
#051B0A #0A051B #1B0A05
tetradic
#051B0A #050B1B #1B0516 #1B1505
square
#051B0A #050B1B #1B0516 #1B1505
split-complementary
#051B0A #15051B #1B050B
monochromatic
#051A0A #051A0A #051B0A #0F4F1D #188230

Accessibility & contrast

On white

17.99
#051B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#051B0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051B0A
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051B0A#FFFFFF#000000##FFFFFF
##051B0A1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1809
Deuteranopia (green-blind)
#18160B
Tritanopia (blue-blind)
#021A17
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #051b0a;
/* rgb */ color: rgb(5, 27, 10);
/* oklch */ color: oklch(19.8% 0.044 149.2);
Tailwind
colors: {
  custom: {
    50: '#48574b',
    500: '#051b0a',
    950: '#000000',
  },
}
SCSS
$custom: #051b0a;
$custom-light: #48574b;
$custom-dark: #000000;
JSON
{
  "hex": "#051b0a",
  "rgb": {
    "r": 5,
    "g": 27,
    "b": 10
  },
  "hsl": {
    "h": 133.636,
    "s": 68.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.19833,
    "c": 0.04424,
    "h": 149.2
  },
  "luminance": 0.00838
}

Semantic roles & 50–950 ramp

primary
#051B0A
secondary
#5C204E
accent
#3CC4EC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #051B0A

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

Preview Lab → · Contrast checker → · Palette generator →

#051B0A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva