#5C781E#5C781E

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

Color values

HEX#5C781E
RGBrgb(92, 120, 30)
HSLhsl(79, 60%, 29%)
HSVhsv(79, 75%, 47%)
CMYKcmyk(23.3%, 0%, 75%, 52.9%)
CIE-LABlab(46.71, -23.99, 43.47)
CIE-LCHlch(46.71, 49.65, 118.90°)
OKLaboklab(53.25% -0.0693 0.0972)
OKLCHoklch(53.25% 0.119 125.5)
XYZxyz(11.3645, 15.8018, 3.6794)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C781E #3A1E78
analogous
#78671E #5C781E #2F781E
triadic
#5C781E #1E5C78 #781E5C
tetradic
#5C781E #1E7867 #3A1E78 #781E2F
square
#5C781E #1E7867 #3A1E78 #781E2F
split-complementary
#5C781E #1E2F78 #671E78
monochromatic
#131806 #364712 #5C781E #82A92A #A3CF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C781E#FFFFFF#000000##FFFFFF
##5C781E1.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)
#7F700D
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#607267
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5c781e;
/* rgb */ color: rgb(92, 120, 30);
/* oklch */ color: oklch(53.2% 0.119 125.5);
Tailwind
colors: {
  custom: {
    50: '#8d9f61',
    500: '#5c781e',
    950: '#000000',
  },
}
SCSS
$custom: #5c781e;
$custom-light: #8d9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#5c781e",
  "rgb": {
    "r": 92,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 78.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.11934,
    "h": 125.5
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

primary
#5C781E
secondary
#6646AC
accent
#45E376
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C781E

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

Preview Lab → · Contrast checker → · Palette generator →

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