#5A783B#5A783B

#5A783B is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.4% C 0.094 H 130.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5A783B
RGBrgb(90, 120, 59)
HSLhsl(90, 34%, 35%)
HSVhsv(90, 51%, 47%)
CMYKcmyk(25%, 0%, 50.8%, 52.9%)
CIE-LABlab(46.87, -22.12, 29.87)
CIE-LCHlch(46.87, 37.16, 126.52°)
OKLaboklab(53.44% -0.0613 0.0717)
OKLCHoklch(53.44% 0.094 130.6)
XYZxyz(11.7222, 15.9221, 6.5925)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A783B #593B78
analogous
#78773B #5A783B #3C783B
triadic
#5A783B #3B5A78 #783B5A
tetradic
#5A783B #3B7877 #593B78 #783B3C
square
#5A783B #3B7877 #593B78 #783B3C
split-complementary
#5A783B #3B3C78 #773B78
monochromatic
#1C2613 #3B4F27 #5A783B #79A14F #97BA73

Accessibility & contrast

On white

5.02
#5A783B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5A783B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A783B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A783B#FFFFFF#000000##FFFFFF
##5A783B1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7136
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#5C746A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a783b;
/* rgb */ color: rgb(90, 120, 59);
/* oklch */ color: oklch(53.4% 0.094 130.6);
Tailwind
colors: {
  custom: {
    50: '#8a9f72',
    500: '#5a783b',
    950: '#000000',
  },
}
SCSS
$custom: #5a783b;
$custom-light: #8a9f72;
$custom-dark: #000000;
JSON
{
  "hex": "#5a783b",
  "rgb": {
    "r": 90,
    "g": 120,
    "b": 59
  },
  "hsl": {
    "h": 89.508,
    "s": 34.078,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53436,
    "c": 0.09432,
    "h": 130.6
  },
  "luminance": 0.15922
}

Semantic roles & 50–950 ramp

primary
#5A783B
secondary
#876BA4
accent
#5ECA93
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0C0E08
muted
#7D7E7B

Preview Lab

Preview with #5A783B

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

Preview Lab → · Contrast checker → · Palette generator →

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