#5C941C#5C941C

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

Color values

HEX#5C941C
RGBrgb(92, 148, 28)
HSLhsl(88, 68%, 35%)
HSVhsv(88, 81%, 58%)
CMYKcmyk(37.8%, 0%, 81.1%, 42%)
CIE-LABlab(55.62, -37.24, 52.64)
CIE-LCHlch(55.62, 64.48, 125.28°)
OKLaboklab(60.5% -0.1054 0.1161)
OKLCHoklch(60.5% 0.157 132.2)
XYZxyz(15.2130, 23.5383, 4.8402)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C941C #541C94
analogous
#94901C #5C941C #20941C
triadic
#5C941C #1C5C94 #941C5C
tetradic
#5C941C #1C9490 #541C94 #941C20
square
#5C941C #1C9490 #541C94 #941C20
split-complementary
#5C941C #1C2094 #901C94
monochromatic
#1C2D09 #3C6112 #5C941C #7CC726 #9ADD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C941C#FFFFFF#000000##000000
##5C941C1.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)
#9B8800
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#5D8E7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5c941c;
/* rgb */ color: rgb(92, 148, 28);
/* oklch */ color: oklch(60.5% 0.157 132.2);
Tailwind
colors: {
  custom: {
    50: '#8fb463',
    500: '#5c941c',
    950: '#000000',
  },
}
SCSS
$custom: #5c941c;
$custom-light: #8fb463;
$custom-dark: #000000;
JSON
{
  "hex": "#5c941c",
  "rgb": {
    "r": 92,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 88,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60496,
    "c": 0.15681,
    "h": 132.2
  },
  "luminance": 0.23539
}

Semantic roles & 50–950 ramp

primary
#5C941C
secondary
#824CC0
accent
#3DEB8E
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C941C

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

Preview Lab → · Contrast checker → · Palette generator →

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