#5B782D#5B782D

#5B782D is a mid, moderate yellow-green. Relative luminance 0.158; OKLCH L 53.3% C 0.108 H 127.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5B782D
RGBrgb(91, 120, 45)
HSLhsl(83, 45%, 32%)
HSVhsv(83, 63%, 47%)
CMYKcmyk(24.2%, 0%, 62.5%, 52.9%)
CIE-LABlab(46.77, -23.24, 36.92)
CIE-LCHlch(46.77, 43.63, 122.19°)
OKLaboklab(53.32% -0.0657 0.0856)
OKLCHoklch(53.32% 0.108 127.5)
XYZxyz(11.5045, 15.8463, 4.9347)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B782D #4A2D78
analogous
#78702D #5B782D #35782D
triadic
#5B782D #2D5B78 #782D5B
tetradic
#5B782D #2D7870 #4A2D78 #782D35
square
#5B782D #2D7870 #4A2D78 #782D35
split-complementary
#5B782D #2D3578 #702D78
monochromatic
#171F0C #394B1C #5B782D #7DA53E #9BC25D

Accessibility & contrast

On white

5.04
#5B782D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5B782D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B782D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B782D#FFFFFF#000000##FFFFFF
##5B782D1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7025
Deuteranopia (green-blind)
#7A6E32
Tritanopia (blue-blind)
#5E7368
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b782d;
/* rgb */ color: rgb(91, 120, 45);
/* oklch */ color: oklch(53.3% 0.108 127.5);
Tailwind
colors: {
  custom: {
    50: '#8c9f69',
    500: '#5b782d',
    950: '#000000',
  },
}
SCSS
$custom: #5b782d;
$custom-light: #8c9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#5b782d",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 45
  },
  "hsl": {
    "h": 83.2,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.10793,
    "h": 127.5
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#5B782D
secondary
#7758A9
accent
#53D585
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5B782D

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

Preview Lab → · Contrast checker → · Palette generator →

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