#05371B#05371B

#05371B is a dark, moderate green. Relative luminance 0.028; OKLCH L 29.7% C 0.072 H 153.1°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#05371B
RGBrgb(5, 55, 27)
HSLhsl(146, 83%, 12%)
HSVhsv(146, 91%, 22%)
CMYKcmyk(90.9%, 0%, 50.9%, 78.4%)
CIE-LABlab(19.41, -23.77, 13.10)
CIE-LCHlch(19.41, 27.14, 151.13°)
OKLaboklab(29.72% -0.0639 0.0324)
OKLCHoklch(29.72% 0.072 153.1)
XYZxyz(1.6265, 2.8436, 1.4998)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05371B #370521
analogous
#083705 #05371B #053734
triadic
#05371B #1B0537 #371B05
tetradic
#05371B #050837 #370521 #373405
square
#05371B #050837 #370521 #373405
split-complementary
#05371B #340537 #370508
monochromatic
#031C0E #031C0E #05371B #0A6F37 #0FA752

Accessibility & contrast

On white

13.39
#05371B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#05371B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05371B
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05371B#FFFFFF#000000##FFFFFF
##05371B1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373119
Deuteranopia (green-blind)
#312D1D
Tritanopia (blue-blind)
#003630
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #05371b;
/* rgb */ color: rgb(5, 55, 27);
/* oklch */ color: oklch(29.7% 0.072 153.1);
Tailwind
colors: {
  custom: {
    50: '#4f6e57',
    500: '#05371b',
    950: '#000000',
  },
}
SCSS
$custom: #05371b;
$custom-light: #4f6e57;
$custom-dark: #000000;
JSON
{
  "hex": "#05371b",
  "rgb": {
    "r": 5,
    "g": 55,
    "b": 27
  },
  "hsl": {
    "h": 146.4,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29718,
    "c": 0.07162,
    "h": 153.1
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#05371B
secondary
#782051
accent
#2EA0FA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #05371B

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

Preview Lab → · Contrast checker → · Palette generator →

#05371B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva