#5D831A#5D831A

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

Color values

HEX#5D831A
RGBrgb(93, 131, 26)
HSLhsl(82, 67%, 31%)
HSVhsv(82, 80%, 51%)
CMYKcmyk(29%, 0%, 80.2%, 48.6%)
CIE-LABlab(50.26, -29.19, 48.32)
CIE-LCHlch(50.26, 56.45, 121.14°)
OKLaboklab(56.13% -0.0838 0.1067)
OKLCHoklch(56.13% 0.136 128.2)
XYZxyz(12.8170, 18.6340, 3.8985)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D831A #401A83
analogous
#83741A #5D831A #29831A
triadic
#5D831A #1A5D83 #831A5D
tetradic
#5D831A #1A8374 #401A83 #831A29
square
#5D831A #1A8374 #401A83 #831A29
split-complementary
#5D831A #1A2983 #741A83
monochromatic
#141D06 #395010 #5D831A #81B624 #A1D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D831A#FFFFFF#000000##000000
##5D831A1.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)
#8A7900
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#607D70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d831a;
/* rgb */ color: rgb(93, 131, 26);
/* oklch */ color: oklch(56.1% 0.136 128.2);
Tailwind
colors: {
  custom: {
    50: '#8fa760',
    500: '#5d831a',
    950: '#000000',
  },
}
SCSS
$custom: #5d831a;
$custom-light: #8fa760;
$custom-dark: #000000;
JSON
{
  "hex": "#5d831a",
  "rgb": {
    "r": 93,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 81.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56132,
    "c": 0.13566,
    "h": 128.2
  },
  "luminance": 0.18634
}

Semantic roles & 50–950 ramp

primary
#5D831A
secondary
#6C42B7
accent
#3EEA7C
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D831A

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

Preview Lab → · Contrast checker → · Palette generator →

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