#5A8723#5A8723

#5A8723 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.0% C 0.137 H 130.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5A8723
RGBrgb(90, 135, 35)
HSLhsl(87, 59%, 33%)
HSVhsv(87, 74%, 53%)
CMYKcmyk(33.3%, 0%, 74.1%, 47.1%)
CIE-LABlab(51.41, -31.73, 46.15)
CIE-LCHlch(51.41, 56.00, 124.51°)
OKLaboklab(57.04% -0.0898 0.1037)
OKLCHoklch(57.04% 0.137 130.9)
XYZxyz(13.1837, 19.6225, 4.6827)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8723 #502387
analogous
#878223 #5A8723 #288723
triadic
#5A8723 #235A87 #87235A
tetradic
#5A8723 #238782 #502387 #872328
square
#5A8723 #238782 #502387 #872328
split-complementary
#5A8723 #232887 #822387
monochromatic
#19260A #3A5616 #5A8723 #7AB830 #99D252

Accessibility & contrast

On white

4.26
#5A8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5A8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8723
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8723#FFFFFF#000000##000000
##5A87231.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D11
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#5C8174
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a8723;
/* rgb */ color: rgb(90, 135, 35);
/* oklch */ color: oklch(57.0% 0.137 130.9);
Tailwind
colors: {
  custom: {
    50: '#8daa65',
    500: '#5a8723',
    950: '#000000',
  },
}
SCSS
$custom: #5a8723;
$custom-light: #8daa65;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8723",
  "rgb": {
    "r": 90,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 87,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.13717,
    "h": 130.9
  },
  "luminance": 0.19623
}

Semantic roles & 50–950 ramp

primary
#5A8723
secondary
#7E50B6
accent
#46E28C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #5A8723

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

Preview Lab → · Contrast checker → · Palette generator →

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