#5A7614#5A7614

#5A7614 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.5% C 0.124 H 125.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5A7614
RGBrgb(90, 118, 20)
HSLhsl(77, 71%, 27%)
HSVhsv(77, 83%, 46%)
CMYKcmyk(23.7%, 0%, 83.1%, 53.7%)
CIE-LABlab(45.88, -24.39, 46.14)
CIE-LCHlch(45.88, 52.19, 117.87°)
OKLaboklab(52.52% -0.0711 0.1011)
OKLCHoklch(52.52% 0.124 125.1)
XYZxyz(10.8212, 15.1809, 3.0218)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7614 #301476
analogous
#766114 #5A7614 #297614
triadic
#5A7614 #145A76 #76145A
tetradic
#5A7614 #147661 #301476 #761429
square
#5A7614 #147661 #301476 #761429
split-complementary
#5A7614 #142976 #611476
monochromatic
#141A04 #32420B #5A7614 #82AA1D #A8DB2A

Accessibility & contrast

On white

5.20
#5A7614 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5A7614 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7614
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7614#FFFFFF#000000##FFFFFF
##5A76141.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#5F7064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a7614;
/* rgb */ color: rgb(90, 118, 20);
/* oklch */ color: oklch(52.5% 0.124 125.1);
Tailwind
colors: {
  custom: {
    50: '#8c9d5c',
    500: '#5a7614',
    950: '#000000',
  },
}
SCSS
$custom: #5a7614;
$custom-light: #8c9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7614",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 20
  },
  "hsl": {
    "h": 77.143,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.1236,
    "h": 125.1
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#5A7614
secondary
#5A3AAC
accent
#3AEE6D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5A7614

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

Preview Lab → · Contrast checker → · Palette generator →

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