#5A7014#5A7014

#5A7014 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 51.0% C 0.116 H 122.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5A7014
RGBrgb(90, 112, 20)
HSLhsl(74, 70%, 26%)
HSVhsv(74, 82%, 44%)
CMYKcmyk(19.6%, 0%, 82.1%, 56.1%)
CIE-LABlab(43.96, -21.34, 44.40)
CIE-LCHlch(43.96, 49.26, 115.68°)
OKLaboklab(50.97% -0.0628 0.0974)
OKLCHoklch(50.97% 0.116 122.8)
XYZxyz(10.1370, 13.8125, 2.7937)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7014 #2A1470
analogous
#705814 #5A7014 #2C7014
triadic
#5A7014 #145A70 #70145A
tetradic
#5A7014 #147058 #2A1470 #70142C
square
#5A7014 #147058 #2A1470 #70142C
split-complementary
#5A7014 #142C70 #581470
monochromatic
#151A05 #303C0B #5A7014 #84A41D #ADD827

Accessibility & contrast

On white

5.58
#5A7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5A7014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A7014
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7014#FFFFFF#000000##FFFFFF
##5A70141.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#5F6A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a7014;
/* rgb */ color: rgb(90, 112, 20);
/* oklch */ color: oklch(51.0% 0.116 122.8);
Tailwind
colors: {
  custom: {
    50: '#8c995b',
    500: '#5a7014',
    950: '#000000',
  },
}
SCSS
$custom: #5a7014;
$custom-light: #8c995b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7014",
  "rgb": {
    "r": 90,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 74.348,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50967,
    "c": 0.11589,
    "h": 122.8
  },
  "luminance": 0.13813
}

Semantic roles & 50–950 ramp

primary
#5A7014
secondary
#5339A6
accent
#3BED66
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5A7014

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

Preview Lab → · Contrast checker → · Palette generator →

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