#053A1F#053A1F

#053A1F is a dark, moderate green. Relative luminance 0.032; OKLCH L 30.8% C 0.072 H 155.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#053A1F
RGBrgb(5, 58, 31)
HSLhsl(149, 84%, 12%)
HSVhsv(149, 91%, 23%)
CMYKcmyk(91.4%, 0%, 46.6%, 77.3%)
CIE-LABlab(20.66, -24.19, 12.17)
CIE-LCHlch(20.66, 27.08, 153.29°)
OKLaboklab(30.78% -0.0651 0.0303)
OKLCHoklch(30.78% 0.072 155)
XYZxyz(1.8228, 3.1571, 1.8094)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#053A1F #3A0520
analogous
#053A05 #053A1F #053A3A
triadic
#053A1F #1F053A #3A1F05
tetradic
#053A1F #05053A #3A0520 #3A3A05
square
#053A1F #05053A #3A0520 #3A3A05
split-complementary
#053A1F #3A053A #3A0505
monochromatic
#021C0F #021C0F #053A1F #0A723D #0FAB5B

Accessibility & contrast

On white

12.87
#053A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#053A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #053A1F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##053A1F#FFFFFF#000000##FFFFFF
##053A1F1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A341D
Deuteranopia (green-blind)
#343021
Tritanopia (blue-blind)
#003933
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #053a1f;
/* rgb */ color: rgb(5, 58, 31);
/* oklch */ color: oklch(30.8% 0.072 155.0);
Tailwind
colors: {
  custom: {
    50: '#50715b',
    500: '#053a1f',
    950: '#000000',
  },
}
SCSS
$custom: #053a1f;
$custom-light: #50715b;
$custom-dark: #000000;
JSON
{
  "hex": "#053a1f",
  "rgb": {
    "r": 5,
    "g": 58,
    "b": 31
  },
  "hsl": {
    "h": 149.434,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30782,
    "c": 0.07185,
    "h": 155
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#053A1F
secondary
#7B204E
accent
#2D96FA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #053A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#053A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva