#5C941F#5C941F

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

Color values

HEX#5C941F
RGBrgb(92, 148, 31)
HSLhsl(89, 65%, 35%)
HSVhsv(89, 79%, 58%)
CMYKcmyk(37.8%, 0%, 79.1%, 42%)
CIE-LABlab(55.64, -37.09, 51.71)
CIE-LCHlch(55.64, 63.63, 125.65°)
OKLaboklab(60.51% -0.1048 0.1146)
OKLCHoklch(60.51% 0.155 132.4)
XYZxyz(15.2507, 23.5534, 5.0388)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C941F #571F94
analogous
#94911F #5C941F #21941F
triadic
#5C941F #1F5C94 #941F5C
tetradic
#5C941F #1F9491 #571F94 #941F21
square
#5C941F #1F9491 #571F94 #941F21
split-complementary
#5C941F #1F2194 #911F94
monochromatic
#1D2F0A #3D6114 #5C941F #7BC72A #9ADB53

Accessibility & contrast

On white

3.68
#5C941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5C941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C941F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C941F#FFFFFF#000000##000000
##5C941F1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c941f;
/* rgb */ color: rgb(92, 148, 31);
/* oklch */ color: oklch(60.5% 0.155 132.4);
Tailwind
colors: {
  custom: {
    50: '#8fb465',
    500: '#5c941f',
    950: '#000000',
  },
}
SCSS
$custom: #5c941f;
$custom-light: #8fb465;
$custom-dark: #000000;
JSON
{
  "hex": "#5c941f",
  "rgb": {
    "r": 92,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 88.718,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60514,
    "c": 0.1553,
    "h": 132.4
  },
  "luminance": 0.23554
}

Semantic roles & 50–950 ramp

primary
#5C941F
secondary
#8551BE
accent
#3FE890
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C941F

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

Preview Lab → · Contrast checker → · Palette generator →

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