#5A7E10#5A7E10

#5A7E10 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.136 H 127.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5A7E10
RGBrgb(90, 126, 16)
HSLhsl(80, 77%, 28%)
HSVhsv(80, 87%, 49%)
CMYKcmyk(28.6%, 0%, 87.3%, 50.6%)
CIE-LABlab(48.43, -28.47, 49.51)
CIE-LCHlch(48.43, 57.11, 119.90°)
OKLaboklab(54.58% -0.0824 0.1076)
OKLCHoklch(54.58% 0.136 127.4)
XYZxyz(11.7709, 17.1325, 3.1769)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7E10 #34107E
analogous
#7E6B10 #5A7E10 #237E10
triadic
#5A7E10 #105A7E #7E105A
tetradic
#5A7E10 #107E6B #34107E #7E1023
square
#5A7E10 #107E6B #34107E #7E1023
split-complementary
#5A7E10 #10237E #6B107E
monochromatic
#131B03 #334809 #5A7E10 #81B417 #A5E325

Accessibility & contrast

On white

4.74
#5A7E10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5A7E10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7E10
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7E10#FFFFFF#000000##FFFFFF
##5A7E101.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#5E786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a7e10;
/* rgb */ color: rgb(90, 126, 16);
/* oklch */ color: oklch(54.6% 0.136 127.4);
Tailwind
colors: {
  custom: {
    50: '#8da35b',
    500: '#5a7e10',
    950: '#000000',
  },
}
SCSS
$custom: #5a7e10;
$custom-light: #8da35b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7e10",
  "rgb": {
    "r": 90,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 79.636,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.13553,
    "h": 127.4
  },
  "luminance": 0.17133
}

Semantic roles & 50–950 ramp

primary
#5A7E10
secondary
#5F36B4
accent
#34F473
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0D0F04
muted
#7D7F79

Preview Lab

Preview with #5A7E10

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

Preview Lab → · Contrast checker → · Palette generator →

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