#5D831B#5D831B

#5D831B is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.1% C 0.135 H 128.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5D831B
RGBrgb(93, 131, 27)
HSLhsl(82, 66%, 31%)
HSVhsv(82, 79%, 51%)
CMYKcmyk(29%, 0%, 79.4%, 48.6%)
CIE-LABlab(50.26, -29.13, 47.99)
CIE-LCHlch(50.26, 56.14, 121.26°)
OKLaboklab(56.14% -0.0836 0.1061)
OKLCHoklch(56.14% 0.135 128.2)
XYZxyz(12.8283, 18.6386, 3.9584)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D831B #411B83
analogous
#83751B #5D831B #29831B
triadic
#5D831B #1B5D83 #831B5D
tetradic
#5D831B #1B8375 #411B83 #831B29
square
#5D831B #1B8375 #411B83 #831B29
split-complementary
#5D831B #1B2983 #751B83
monochromatic
#151E06 #395011 #5D831B #81B625 #A1D841

Accessibility & contrast

On white

4.44
#5D831B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5D831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D831B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D831B#FFFFFF#000000##000000
##5D831B1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7901
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#607D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d831b;
/* rgb */ color: rgb(93, 131, 27);
/* oklch */ color: oklch(56.1% 0.135 128.2);
Tailwind
colors: {
  custom: {
    50: '#8fa761',
    500: '#5d831b',
    950: '#000000',
  },
}
SCSS
$custom: #5d831b;
$custom-light: #8fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#5d831b",
  "rgb": {
    "r": 93,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 81.923,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56138,
    "c": 0.13512,
    "h": 128.2
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#5D831B
secondary
#6D43B6
accent
#3FE97D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D831B

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

Preview Lab → · Contrast checker → · Palette generator →

#5D831B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva