#5E8230#5E8230

#5E8230 is a mid, moderate yellow-green. Relative luminance 0.186; OKLCH L 56.1% C 0.118 H 129.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5E8230
RGBrgb(94, 130, 48)
HSLhsl(86, 46%, 35%)
HSVhsv(86, 63%, 51%)
CMYKcmyk(27.7%, 0%, 63.1%, 49%)
CIE-LABlab(50.17, -26.71, 39.32)
CIE-LCHlch(50.17, 47.54, 124.19°)
OKLaboklab(56.13% -0.0752 0.091)
OKLCHoklch(56.13% 0.118 129.6)
XYZxyz(13.1321, 18.5580, 5.6859)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8230 #543082
analogous
#827D30 #5E8230 #358230
triadic
#5E8230 #305E82 #82305E
tetradic
#5E8230 #30827D #543082 #823035
square
#5E8230 #30827D #543082 #823035
split-complementary
#5E8230 #303582 #7D3082
monochromatic
#1D290F #3E551F #5E8230 #7EAF41 #9CC666

Accessibility & contrast

On white

4.46
#5E8230 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5E8230 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8230
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8230#FFFFFF#000000##000000
##5E82301.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887927
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#607D71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5e8230;
/* rgb */ color: rgb(94, 130, 48);
/* oklch */ color: oklch(56.1% 0.118 129.6);
Tailwind
colors: {
  custom: {
    50: '#8ea66c',
    500: '#5e8230',
    950: '#000000',
  },
}
SCSS
$custom: #5e8230;
$custom-light: #8ea66c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8230",
  "rgb": {
    "r": 94,
    "g": 130,
    "b": 48
  },
  "hsl": {
    "h": 86.341,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.1181,
    "h": 129.6
  },
  "luminance": 0.18558
}

Semantic roles & 50–950 ramp

primary
#5E8230
secondary
#8260AE
accent
#52D68C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5E8230

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

Preview Lab → · Contrast checker → · Palette generator →

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