#5D941F#5D941F

#5D941F is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.6% C 0.155 H 132.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5D941F
RGBrgb(93, 148, 31)
HSLhsl(88, 65%, 35%)
HSVhsv(88, 79%, 58%)
CMYKcmyk(37.2%, 0%, 79.1%, 42%)
CIE-LABlab(55.69, -36.72, 51.78)
CIE-LCHlch(55.69, 63.47, 125.34°)
OKLaboklab(60.57% -0.1038 0.1147)
OKLCHoklch(60.57% 0.155 132.1)
XYZxyz(15.3513, 23.6052, 5.0435)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D941F #561F94
analogous
#94901F #5D941F #23941F
triadic
#5D941F #1F5D94 #941F5D
tetradic
#5D941F #1F9490 #561F94 #941F23
square
#5D941F #1F9490 #561F94 #941F23
split-complementary
#5D941F #1F2394 #901F94
monochromatic
#1D2F0A #3D6114 #5D941F #7DC72A #9BDB53

Accessibility & contrast

On white

3.67
#5D941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5D941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D941F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D941F#FFFFFF#000000##000000
##5D941F1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#5E8E7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5d941f;
/* rgb */ color: rgb(93, 148, 31);
/* oklch */ color: oklch(60.6% 0.155 132.1);
Tailwind
colors: {
  custom: {
    50: '#90b465',
    500: '#5d941f',
    950: '#000000',
  },
}
SCSS
$custom: #5d941f;
$custom-light: #90b465;
$custom-dark: #000000;
JSON
{
  "hex": "#5d941f",
  "rgb": {
    "r": 93,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 88.205,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60571,
    "c": 0.15476,
    "h": 132.1
  },
  "luminance": 0.23606
}

Semantic roles & 50–950 ramp

primary
#5D941F
secondary
#8451BE
accent
#3FE88F
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D941F

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

Preview Lab → · Contrast checker → · Palette generator →

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