#5A7510#5A7510

#5A7510 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 52.2% C 0.124 H 124.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5A7510
RGBrgb(90, 117, 16)
HSLhsl(76, 76%, 26%)
HSVhsv(76, 86%, 46%)
CMYKcmyk(23.1%, 0%, 86.3%, 54.1%)
CIE-LABlab(45.54, -24.06, 47.00)
CIE-LCHlch(45.54, 52.80, 117.11°)
OKLaboklab(52.24% -0.0705 0.1022)
OKLCHoklch(52.24% 0.124 124.6)
XYZxyz(10.6714, 14.9335, 2.8104)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7510 #2B1075
analogous
#755D10 #5A7510 #277510
triadic
#5A7510 #105A75 #75105A
tetradic
#5A7510 #10755D #2B1075 #751027
square
#5A7510 #10755D #2B1075 #751027
split-complementary
#5A7510 #102775 #5D1075
monochromatic
#151B04 #313F09 #5A7510 #83AB17 #ADE01F

Accessibility & contrast

On white

5.27
#5A7510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5A7510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7510
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7510#FFFFFF#000000##FFFFFF
##5A75101.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#786C1C
Tritanopia (blue-blind)
#5F6F63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a7510;
/* rgb */ color: rgb(90, 117, 16);
/* oklch */ color: oklch(52.2% 0.124 124.6);
Tailwind
colors: {
  custom: {
    50: '#8c9c5a',
    500: '#5a7510',
    950: '#000000',
  },
}
SCSS
$custom: #5a7510;
$custom-light: #8c9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7510",
  "rgb": {
    "r": 90,
    "g": 117,
    "b": 16
  },
  "hsl": {
    "h": 76.04,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.5224,
    "c": 0.12418,
    "h": 124.6
  },
  "luminance": 0.14934
}

Semantic roles & 50–950 ramp

primary
#5A7510
secondary
#5535AC
accent
#35F368
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5A7510

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

Preview Lab → · Contrast checker → · Palette generator →

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