#5C931F#5C931F

#5C931F is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.3% C 0.154 H 132.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5C931F
RGBrgb(92, 147, 31)
HSLhsl(88, 65%, 35%)
HSVhsv(88, 79%, 58%)
CMYKcmyk(37.4%, 0%, 78.9%, 42.4%)
CIE-LABlab(55.32, -36.64, 51.41)
CIE-LCHlch(55.32, 63.13, 125.48°)
OKLaboklab(60.25% -0.1036 0.114)
OKLCHoklch(60.25% 0.154 132.3)
XYZxyz(15.0945, 23.2410, 4.9867)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C931F #561F93
analogous
#93901F #5C931F #22931F
triadic
#5C931F #1F5C93 #931F5C
tetradic
#5C931F #1F9390 #561F93 #931F22
square
#5C931F #1F9390 #561F93 #931F22
split-complementary
#5C931F #1F2293 #901F93
monochromatic
#1D2E0A #3C6014 #5C931F #7CC62A #9ADA52

Accessibility & contrast

On white

3.72
#5C931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5C931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C931F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C931F#FFFFFF#000000##000000
##5C931F1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#5D8D7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5c931f;
/* rgb */ color: rgb(92, 147, 31);
/* oklch */ color: oklch(60.3% 0.154 132.3);
Tailwind
colors: {
  custom: {
    50: '#8fb365',
    500: '#5c931f',
    950: '#000000',
  },
}
SCSS
$custom: #5c931f;
$custom-light: #8fb365;
$custom-dark: #000000;
JSON
{
  "hex": "#5c931f",
  "rgb": {
    "r": 92,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 88.448,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60254,
    "c": 0.15403,
    "h": 132.3
  },
  "luminance": 0.23242
}

Semantic roles & 50–950 ramp

primary
#5C931F
secondary
#8450BE
accent
#40E890
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C931F

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

Preview Lab → · Contrast checker → · Palette generator →

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