#5CA231#5CA231

#5CA231 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.3% C 0.162 H 135.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5CA231
RGBrgb(92, 162, 49)
HSLhsl(97, 54%, 41%)
HSVhsv(97, 70%, 64%)
CMYKcmyk(43.2%, 0%, 69.8%, 36.5%)
CIE-LABlab(60.19, -41.88, 49.63)
CIE-LCHlch(60.19, 64.94, 130.16°)
OKLaboklab(64.28% -0.1164 0.1129)
OKLCHoklch(64.28% 0.162 135.9)
XYZxyz(17.8879, 28.3367, 7.4321)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CA231 #7731A2
analogous
#95A231 #5CA231 #31A23F
triadic
#5CA231 #315CA2 #A2315C
tetradic
#5CA231 #3195A2 #7731A2 #A23F31
square
#5CA231 #3195A2 #7731A2 #A23F31
split-complementary
#5CA231 #3F31A2 #A23195
monochromatic
#274415 #417323 #5CA231 #79C848 #9BD677

Accessibility & contrast

On white

3.15
#5CA231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#5CA231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5CA231
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CA231#FFFFFF#000000##000000
##5CA2311.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#9E8F3B
Tritanopia (blue-blind)
#5A9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5ca231;
/* rgb */ color: rgb(92, 162, 49);
/* oklch */ color: oklch(64.3% 0.162 135.9);
Tailwind
colors: {
  custom: {
    50: '#90be6f',
    500: '#5ca231',
    950: '#000000',
  },
}
SCSS
$custom: #5ca231;
$custom-light: #90be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ca231",
  "rgb": {
    "r": 92,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 97.168,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64278,
    "c": 0.16222,
    "h": 135.9
  },
  "luminance": 0.28338
}

Semantic roles & 50–950 ramp

primary
#5CA231
secondary
#A171BE
accent
#4BDDA5
background
#F9FBF7
surface
#F1F7ED
border
#CBD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5CA231

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

Preview Lab → · Contrast checker → · Palette generator →

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