#5D781D#5D781D

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

Color values

HEX#5D781D
RGBrgb(93, 120, 29)
HSLhsl(78, 61%, 29%)
HSVhsv(78, 76%, 47%)
CMYKcmyk(22.5%, 0%, 75.8%, 52.9%)
CIE-LABlab(46.78, -23.63, 43.94)
CIE-LCHlch(46.78, 49.88, 118.27°)
OKLaboklab(53.31% -0.0684 0.098)
OKLCHoklch(53.31% 0.12 124.9)
XYZxyz(11.4525, 15.8487, 3.6179)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D781D #381D78
analogous
#78661D #5D781D #30781D
triadic
#5D781D #1D5D78 #781D5D
tetradic
#5D781D #1D7866 #381D78 #781D30
square
#5D781D #1D7866 #381D78 #781D30
split-complementary
#5D781D #1D3078 #661D78
monochromatic
#131906 #374711 #5D781D #83A929 #A5D13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D781D#FFFFFF#000000##FFFFFF
##5D781D1.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)
#7F700B
Deuteranopia (green-blind)
#7B6F25
Tritanopia (blue-blind)
#617266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d781d;
/* rgb */ color: rgb(93, 120, 29);
/* oklch */ color: oklch(53.3% 0.119 124.9);
Tailwind
colors: {
  custom: {
    50: '#8e9f60',
    500: '#5d781d',
    950: '#000000',
  },
}
SCSS
$custom: #5d781d;
$custom-light: #8e9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#5d781d",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 77.802,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.1195,
    "h": 124.9
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#5D781D
secondary
#6345AC
accent
#44E473
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D781D

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

Preview Lab → · Contrast checker → · Palette generator →

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