#5C8227#5C8227

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

Color values

HEX#5C8227
RGBrgb(92, 130, 39)
HSLhsl(85, 54%, 33%)
HSVhsv(85, 70%, 51%)
CMYKcmyk(29.2%, 0%, 70%, 49%)
CIE-LABlab(49.96, -28.28, 43.10)
CIE-LCHlch(49.96, 51.55, 123.27°)
OKLaboklab(55.9% -0.0802 0.0978)
OKLCHoklch(55.9% 0.127 129.4)
XYZxyz(12.7624, 18.3867, 4.7956)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8227 #4D2782
analogous
#827A27 #5C8227 #2E8227
triadic
#5C8227 #275C82 #82275C
tetradic
#5C8227 #27827A #4D2782 #82272E
square
#5C8227 #27827A #4D2782 #82272E
split-complementary
#5C8227 #272E82 #7A2782
monochromatic
#19240B #3B5319 #5C8227 #7DB135 #9BCD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8227#FFFFFF#000000##000000
##5C82271.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)
#88791A
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#5F7C70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c8227;
/* rgb */ color: rgb(92, 130, 39);
/* oklch */ color: oklch(55.9% 0.127 129.4);
Tailwind
colors: {
  custom: {
    50: '#8da667',
    500: '#5c8227',
    950: '#000000',
  },
}
SCSS
$custom: #5c8227;
$custom-light: #8da667;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8227",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 85.055,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55904,
    "c": 0.12651,
    "h": 129.4
  },
  "luminance": 0.18387
}

Semantic roles & 50–950 ramp

primary
#5C8227
secondary
#7B53B1
accent
#4BDD88
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8227

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

Preview Lab → · Contrast checker → · Palette generator →

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