#5C8F25#5C8F25

#5C8F25 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.145 H 132.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5C8F25
RGBrgb(92, 143, 37)
HSLhsl(89, 59%, 35%)
HSVhsv(89, 74%, 56%)
CMYKcmyk(35.7%, 0%, 74.1%, 43.9%)
CIE-LABlab(54.08, -34.49, 48.09)
CIE-LCHlch(54.08, 59.18, 125.65°)
OKLaboklab(59.26% -0.0973 0.108)
OKLCHoklch(59.26% 0.145 132)
XYZxyz(14.5699, 22.0532, 5.2389)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F25 #58258F
analogous
#8F8D25 #5C8F25 #278F25
triadic
#5C8F25 #255C8F #8F255C
tetradic
#5C8F25 #258F8D #58258F #8F2527
square
#5C8F25 #258F8D #58258F #8F2527
split-complementary
#5C8F25 #25278F #8D258F
monochromatic
#1D2E0C #3D5E18 #5C8F25 #7BC032 #9AD45A

Accessibility & contrast

On white

3.88
#5C8F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5C8F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F25
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F25#FFFFFF#000000##000000
##5C8F251.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958412
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#5D897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f25;
/* rgb */ color: rgb(92, 143, 37);
/* oklch */ color: oklch(59.3% 0.145 132.0);
Tailwind
colors: {
  custom: {
    50: '#8eb067',
    500: '#5c8f25',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f25;
$custom-light: #8eb067;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f25",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 88.868,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59256,
    "c": 0.14536,
    "h": 132
  },
  "luminance": 0.22054
}

Semantic roles & 50–950 ramp

primary
#5C8F25
secondary
#8657B9
accent
#46E291
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8F25

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

Preview Lab → · Contrast checker → · Palette generator →

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