#5D901F#5D901F

#5D901F is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.5% C 0.150 H 131.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5D901F
RGBrgb(93, 144, 31)
HSLhsl(87, 65%, 34%)
HSVhsv(87, 78%, 56%)
CMYKcmyk(35.4%, 0%, 78.5%, 43.5%)
CIE-LABlab(54.42, -34.93, 50.58)
CIE-LCHlch(54.42, 61.47, 124.63°)
OKLaboklab(59.53% -0.099 0.1122)
OKLCHoklch(59.53% 0.15 131.4)
XYZxyz(14.7346, 22.3720, 4.8379)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D901F #521F90
analogous
#908B1F #5D901F #24901F
triadic
#5D901F #1F5D90 #901F5D
tetradic
#5D901F #1F908B #521F90 #901F24
square
#5D901F #1F908B #521F90 #901F24
split-complementary
#5D901F #1F2490 #8B1F90
monochromatic
#1C2B09 #3C5E14 #5D901F #7EC22A #9BD950

Accessibility & contrast

On white

3.84
#5D901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5D901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D901F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D901F#FFFFFF#000000##000000
##5D901F1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978502
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#5F8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d901f;
/* rgb */ color: rgb(93, 144, 31);
/* oklch */ color: oklch(59.5% 0.150 131.4);
Tailwind
colors: {
  custom: {
    50: '#8fb164',
    500: '#5d901f',
    950: '#000000',
  },
}
SCSS
$custom: #5d901f;
$custom-light: #8fb164;
$custom-dark: #000000;
JSON
{
  "hex": "#5d901f",
  "rgb": {
    "r": 93,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 87.08,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59533,
    "c": 0.14967,
    "h": 131.4
  },
  "luminance": 0.22373
}

Semantic roles & 50–950 ramp

primary
#5D901F
secondary
#804EBC
accent
#40E88C
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D901F

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

Preview Lab → · Contrast checker → · Palette generator →

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