#5C8A38#5C8A38

#5C8A38 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.1% C 0.124 H 133.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5C8A38
RGBrgb(92, 138, 56)
HSLhsl(94, 42%, 38%)
HSVhsv(94, 59%, 54%)
CMYKcmyk(33.3%, 0%, 59.4%, 45.9%)
CIE-LABlab(52.66, -30.54, 38.28)
CIE-LCHlch(52.66, 48.97, 128.59°)
OKLaboklab(58.15% -0.085 0.0897)
OKLCHoklch(58.15% 0.124 133.4)
XYZxyz(14.2157, 20.7373, 6.9943)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A38 #66388A
analogous
#858A38 #5C8A38 #388A3D
triadic
#5C8A38 #385C8A #8A385C
tetradic
#5C8A38 #38858A #66388A #8A3D38
square
#5C8A38 #38858A #66388A #8A3D38
split-complementary
#5C8A38 #3D388A #8A3885
monochromatic
#223315 #3F5E26 #5C8A38 #79B54A #99C775

Accessibility & contrast

On white

4.08
#5C8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5C8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A38
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A38#FFFFFF#000000##000000
##5C8A381.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#897C3E
Tritanopia (blue-blind)
#5C8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8a38;
/* rgb */ color: rgb(92, 138, 56);
/* oklch */ color: oklch(58.1% 0.124 133.4);
Tailwind
colors: {
  custom: {
    50: '#8dac71',
    500: '#5c8a38',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a38;
$custom-light: #8dac71;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a38",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 93.659,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58149,
    "c": 0.12357,
    "h": 133.4
  },
  "luminance": 0.20738
}

Semantic roles & 50–950 ramp

primary
#5C8A38
secondary
#936EB0
accent
#56D29B
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5C8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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