#5D781A#5D781A

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

Color values

HEX#5D781A
RGBrgb(93, 120, 26)
HSLhsl(77, 64%, 29%)
HSVhsv(77, 78%, 47%)
CMYKcmyk(22.5%, 0%, 78.3%, 52.9%)
CIE-LABlab(46.76, -23.80, 45.02)
CIE-LCHlch(46.76, 50.93, 117.86°)
OKLaboklab(53.29% -0.0692 0.0997)
OKLCHoklch(53.29% 0.121 124.7)
XYZxyz(11.4172, 15.8346, 3.4320)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D781A #351A78
analogous
#78641A #5D781A #2E781A
triadic
#5D781A #1A5D78 #781A5D
tetradic
#5D781A #1A7864 #351A78 #781A2E
square
#5D781A #1A7864 #351A78 #781A2E
split-complementary
#5D781A #1A2E78 #641A78
monochromatic
#131905 #36460F #5D781A #84AA25 #A7D438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D781A#FFFFFF#000000##FFFFFF
##5D781A1.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)
#7F7005
Deuteranopia (green-blind)
#7B6F23
Tritanopia (blue-blind)
#627266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d781a;
/* rgb */ color: rgb(93, 120, 26);
/* oklch */ color: oklch(53.3% 0.121 124.7);
Tailwind
colors: {
  custom: {
    50: '#8e9f5f',
    500: '#5d781a',
    950: '#000000',
  },
}
SCSS
$custom: #5d781a;
$custom-light: #8e9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d781a",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 77.234,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53293,
    "c": 0.12136,
    "h": 124.7
  },
  "luminance": 0.15835
}

Semantic roles & 50–950 ramp

primary
#5D781A
secondary
#6041AC
accent
#40E770
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5D781A

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

Preview Lab → · Contrast checker → · Palette generator →

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