#5C8129#5C8129

#5C8129 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.7% C 0.124 H 129.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5C8129
RGBrgb(92, 129, 41)
HSLhsl(85, 52%, 33%)
HSVhsv(85, 68%, 51%)
CMYKcmyk(28.7%, 0%, 68.2%, 49.4%)
CIE-LABlab(49.66, -27.64, 41.92)
CIE-LCHlch(49.66, 50.21, 123.40°)
OKLaboklab(55.66% -0.0783 0.0956)
OKLCHoklch(55.66% 0.124 129.3)
XYZxyz(12.6641, 18.1356, 4.9307)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8129 #4E2981
analogous
#817A29 #5C8129 #308129
triadic
#5C8129 #295C81 #81295C
tetradic
#5C8129 #29817A #4E2981 #812930
square
#5C8129 #29817A #4E2981 #812930
split-complementary
#5C8129 #293081 #7A2981
monochromatic
#1A240B #3B531A #5C8129 #7DAF38 #9BCB5A

Accessibility & contrast

On white

4.54
#5C8129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5C8129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8129
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8129#FFFFFF#000000##000000
##5C81291.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781D
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#5F7B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5c8129;
/* rgb */ color: rgb(92, 129, 41);
/* oklch */ color: oklch(55.7% 0.124 129.3);
Tailwind
colors: {
  custom: {
    50: '#8da568',
    500: '#5c8129',
    950: '#000000',
  },
}
SCSS
$custom: #5c8129;
$custom-light: #8da568;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8129",
  "rgb": {
    "r": 92,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 85.227,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55664,
    "c": 0.1236,
    "h": 129.3
  },
  "luminance": 0.18136
}

Semantic roles & 50–950 ramp

primary
#5C8129
secondary
#7C56B0
accent
#4DDB89
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8129

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

Preview Lab → · Contrast checker → · Palette generator →

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