#5A7110#5A7110

#5A7110 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.2% C 0.119 H 123.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5A7110
RGBrgb(90, 113, 16)
HSLhsl(74, 75%, 25%)
HSVhsv(74, 86%, 44%)
CMYKcmyk(20.4%, 0%, 85.8%, 55.7%)
CIE-LABlab(44.26, -22.03, 45.88)
CIE-LCHlch(44.26, 50.90, 115.65°)
OKLaboklab(51.2% -0.0649 0.0999)
OKLCHoklch(51.2% 0.119 123)
XYZxyz(10.2153, 14.0213, 2.6583)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7110 #271071
analogous
#715710 #5A7110 #297110
triadic
#5A7110 #105A71 #71105A
tetradic
#5A7110 #107157 #271071 #711029
square
#5A7110 #107157 #271071 #711029
split-complementary
#5A7110 #102971 #571071
monochromatic
#151B04 #2F3B08 #5A7110 #85A718 #AFDC1F

Accessibility & contrast

On white

5.52
#5A7110 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5A7110 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7110
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7110#FFFFFF#000000##FFFFFF
##5A71101.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#75691B
Tritanopia (blue-blind)
#5F6B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5a7110;
/* rgb */ color: rgb(90, 113, 16);
/* oklch */ color: oklch(51.2% 0.119 123.0);
Tailwind
colors: {
  custom: {
    50: '#8c9959',
    500: '#5a7110',
    950: '#000000',
  },
}
SCSS
$custom: #5a7110;
$custom-light: #8c9959;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7110",
  "rgb": {
    "r": 90,
    "g": 113,
    "b": 16
  },
  "hsl": {
    "h": 74.227,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.11912,
    "h": 123
  },
  "luminance": 0.14021
}

Semantic roles & 50–950 ramp

primary
#5A7110
secondary
#5034A9
accent
#36F263
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5A7110

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

Preview Lab → · Contrast checker → · Palette generator →

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