#5A783F#5A783F

#5A783F is a mid, moderate yellow-green. Relative luminance 0.160; OKLCH L 53.5% C 0.090 H 131.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5A783F
RGBrgb(90, 120, 63)
HSLhsl(92, 31%, 36%)
HSVhsv(92, 48%, 47%)
CMYKcmyk(25%, 0%, 47.5%, 52.9%)
CIE-LABlab(46.93, -21.60, 27.77)
CIE-LCHlch(46.93, 35.18, 127.88°)
OKLaboklab(53.5% -0.0596 0.0673)
OKLCHoklch(53.5% 0.09 131.6)
XYZxyz(11.8299, 15.9652, 7.1600)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A783F #5D3F78
analogous
#76783F #5A783F #3F7840
triadic
#5A783F #3F5A78 #783F5A
tetradic
#5A783F #3F7678 #5D3F78 #78403F
square
#5A783F #3F7678 #5D3F78 #78403F
split-complementary
#5A783F #403F78 #783F76
monochromatic
#1E2815 #3C502A #5A783F #78A054 #97B979

Accessibility & contrast

On white

5.01
#5A783F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5A783F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A783F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A783F#FFFFFF#000000##FFFFFF
##5A783F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713A
Deuteranopia (green-blind)
#786E42
Tritanopia (blue-blind)
#5B746A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a783f;
/* rgb */ color: rgb(90, 120, 63);
/* oklch */ color: oklch(53.5% 0.090 131.6);
Tailwind
colors: {
  custom: {
    50: '#8a9f75',
    500: '#5a783f',
    950: '#000000',
  },
}
SCSS
$custom: #5a783f;
$custom-light: #8a9f75;
$custom-dark: #000000;
JSON
{
  "hex": "#5a783f",
  "rgb": {
    "r": 90,
    "g": 120,
    "b": 63
  },
  "hsl": {
    "h": 91.579,
    "s": 31.148,
    "l": 35.882
  },
  "oklch": {
    "l": 0.535,
    "c": 0.08987,
    "h": 131.6
  },
  "luminance": 0.15965
}

Semantic roles & 50–950 ramp

primary
#5A783F
secondary
#8B70A3
accent
#60C797
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0C0E08
muted
#7D7E7B

Preview Lab

Preview with #5A783F

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

Preview Lab → · Contrast checker → · Palette generator →

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