#5C781D#5C781D

#5C781D is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.2% C 0.120 H 125.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5C781D
RGBrgb(92, 120, 29)
HSLhsl(78, 61%, 29%)
HSVhsv(78, 76%, 47%)
CMYKcmyk(23.3%, 0%, 75.8%, 52.9%)
CIE-LABlab(46.71, -24.05, 43.85)
CIE-LCHlch(46.71, 50.01, 118.75°)
OKLaboklab(53.24% -0.0695 0.0978)
OKLCHoklch(53.24% 0.12 125.4)
XYZxyz(11.3520, 15.7968, 3.6132)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C781D #391D78
analogous
#78671D #5C781D #2E781D
triadic
#5C781D #1D5C78 #781D5C
tetradic
#5C781D #1D7867 #391D78 #781D2E
square
#5C781D #1D7867 #391D78 #781D2E
split-complementary
#5C781D #1D2E78 #671D78
monochromatic
#131906 #364711 #5C781D #82A929 #A4D13F

Accessibility & contrast

On white

5.05
#5C781D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5C781D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C781D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C781D#FFFFFF#000000##FFFFFF
##5C781D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700B
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#607266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5c781d;
/* rgb */ color: rgb(92, 120, 29);
/* oklch */ color: oklch(53.2% 0.120 125.4);
Tailwind
colors: {
  custom: {
    50: '#8d9f60',
    500: '#5c781d',
    950: '#000000',
  },
}
SCSS
$custom: #5c781d;
$custom-light: #8d9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#5c781d",
  "rgb": {
    "r": 92,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 78.462,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5324,
    "c": 0.12,
    "h": 125.4
  },
  "luminance": 0.15797
}

Semantic roles & 50–950 ramp

primary
#5C781D
secondary
#6545AC
accent
#44E475
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C781D

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

Preview Lab → · Contrast checker → · Palette generator →

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