#5D931F#5D931F

#5D931F is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.3% C 0.153 H 132.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5D931F
RGBrgb(93, 147, 31)
HSLhsl(88, 65%, 35%)
HSVhsv(88, 79%, 58%)
CMYKcmyk(36.7%, 0%, 78.9%, 42.4%)
CIE-LABlab(55.37, -36.27, 51.48)
CIE-LCHlch(55.37, 62.97, 125.17°)
OKLaboklab(60.31% -0.1027 0.1141)
OKLCHoklch(60.31% 0.153 132)
XYZxyz(15.1951, 23.2929, 4.9914)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D931F #551F93
analogous
#938F1F #5D931F #23931F
triadic
#5D931F #1F5D93 #931F5D
tetradic
#5D931F #1F938F #551F93 #931F23
square
#5D931F #1F938F #551F93 #931F23
split-complementary
#5D931F #1F2393 #8F1F93
monochromatic
#1D2E0A #3D6014 #5D931F #7DC62A #9BDA52

Accessibility & contrast

On white

3.71
#5D931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5D931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D931F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D931F#FFFFFF#000000##000000
##5D931F1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#5E8D7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5d931f;
/* rgb */ color: rgb(93, 147, 31);
/* oklch */ color: oklch(60.3% 0.153 132.0);
Tailwind
colors: {
  custom: {
    50: '#90b365',
    500: '#5d931f',
    950: '#000000',
  },
}
SCSS
$custom: #5d931f;
$custom-light: #90b365;
$custom-dark: #000000;
JSON
{
  "hex": "#5d931f",
  "rgb": {
    "r": 93,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 87.931,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60311,
    "c": 0.15349,
    "h": 132
  },
  "luminance": 0.23294
}

Semantic roles & 50–950 ramp

primary
#5D931F
secondary
#8350BE
accent
#40E88E
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D931F

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

Preview Lab → · Contrast checker → · Palette generator →

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