#5C8229#5C8229

#5C8229 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.9% C 0.125 H 129.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5C8229
RGBrgb(92, 130, 41)
HSLhsl(86, 52%, 34%)
HSVhsv(86, 68%, 51%)
CMYKcmyk(29.2%, 0%, 68.5%, 49%)
CIE-LABlab(49.98, -28.12, 42.26)
CIE-LCHlch(49.98, 50.76, 123.65°)
OKLaboklab(55.92% -0.0796 0.0963)
OKLCHoklch(55.92% 0.125 129.6)
XYZxyz(12.7964, 18.4003, 4.9748)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8229 #4F2982
analogous
#827B29 #5C8229 #2F8229
triadic
#5C8229 #295C82 #82295C
tetradic
#5C8229 #29827B #4F2982 #82292F
square
#5C8229 #29827B #4F2982 #82292F
split-complementary
#5C8229 #292F82 #7B2982
monochromatic
#1A250C #3B531A #5C8229 #7DB138 #9BCB5A

Accessibility & contrast

On white

4.49
#5C8229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5C8229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8229
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8229#FFFFFF#000000##000000
##5C82291.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791D
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#5F7C70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8229;
/* rgb */ color: rgb(92, 130, 41);
/* oklch */ color: oklch(55.9% 0.125 129.6);
Tailwind
colors: {
  custom: {
    50: '#8da668',
    500: '#5c8229',
    950: '#000000',
  },
}
SCSS
$custom: #5c8229;
$custom-light: #8da668;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8229",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 85.618,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55923,
    "c": 0.12498,
    "h": 129.6
  },
  "luminance": 0.18401
}

Semantic roles & 50–950 ramp

primary
#5C8229
secondary
#7D56B0
accent
#4CDB89
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8229

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

Preview Lab → · Contrast checker → · Palette generator →

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