#5A7119#5A7119

#5A7119 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.3% C 0.114 H 123.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5A7119
RGBrgb(90, 113, 25)
HSLhsl(76, 64%, 27%)
HSVhsv(76, 78%, 44%)
CMYKcmyk(20.4%, 0%, 77.9%, 55.7%)
CIE-LABlab(44.31, -21.60, 42.98)
CIE-LCHlch(44.31, 48.10, 116.68°)
OKLaboklab(51.26% -0.0631 0.0953)
OKLCHoklch(51.26% 0.114 123.5)
XYZxyz(10.2972, 14.0540, 3.0897)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7119 #301971
analogous
#715C19 #5A7119 #2E7119
triadic
#5A7119 #195A71 #71195A
tetradic
#5A7119 #19715C #301971 #71192E
square
#5A7119 #19715C #301971 #71192E
split-complementary
#5A7119 #192E71 #5C1971
monochromatic
#141906 #323F0E #5A7119 #82A324 #A8D233

Accessibility & contrast

On white

5.51
#5A7119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A7119
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7119#FFFFFF#000000##FFFFFF
##5A71191.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786906
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#5F6B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5a7119;
/* rgb */ color: rgb(90, 113, 25);
/* oklch */ color: oklch(51.3% 0.114 123.5);
Tailwind
colors: {
  custom: {
    50: '#8c995d',
    500: '#5a7119',
    950: '#000000',
  },
}
SCSS
$custom: #5a7119;
$custom-light: #8c995d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7119",
  "rgb": {
    "r": 90,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 75.682,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.1143,
    "h": 123.5
  },
  "luminance": 0.14054
}

Semantic roles & 50–950 ramp

primary
#5A7119
secondary
#5A40A6
accent
#41E76C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5A7119

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

Preview Lab → · Contrast checker → · Palette generator →

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