#5A7113#5A7113

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

Color values

HEX#5A7113
RGBrgb(90, 113, 19)
HSLhsl(75, 71%, 26%)
HSVhsv(75, 83%, 44%)
CMYKcmyk(20.4%, 0%, 83.2%, 55.7%)
CIE-LABlab(44.28, -21.90, 45.00)
CIE-LCHlch(44.28, 50.05, 115.96°)
OKLaboklab(51.22% -0.0644 0.0985)
OKLCHoklch(51.22% 0.118 123.2)
XYZxyz(10.2393, 14.0309, 2.7848)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7113 #2A1371
analogous
#715913 #5A7113 #2B7113
triadic
#5A7113 #135A71 #71135A
tetradic
#5A7113 #137159 #2A1371 #71132B
square
#5A7113 #137159 #2A1371 #71132B
split-complementary
#5A7113 #132B71 #591371
monochromatic
#151A04 #303D0A #5A7113 #84A51C #ADDA25

Accessibility & contrast

On white

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

On black

3.81
#5A7113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A7113#FFFFFF#000000##FFFFFF
##5A71131.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a7113;
/* rgb */ color: rgb(90, 113, 19);
/* oklch */ color: oklch(51.2% 0.118 123.2);
Tailwind
colors: {
  custom: {
    50: '#8c995a',
    500: '#5a7113',
    950: '#000000',
  },
}
SCSS
$custom: #5a7113;
$custom-light: #8c995a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7113",
  "rgb": {
    "r": 90,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 74.681,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.5122,
    "c": 0.11769,
    "h": 123.2
  },
  "luminance": 0.14031
}

Semantic roles & 50–950 ramp

primary
#5A7113
secondary
#5338A8
accent
#3AEE66
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5A7113

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

Preview Lab → · Contrast checker → · Palette generator →

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