#5E781C#5E781C

#5E781C is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.4% C 0.120 H 124.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5E781C
RGBrgb(94, 120, 28)
HSLhsl(77, 62%, 29%)
HSVhsv(77, 77%, 47%)
CMYKcmyk(21.7%, 0%, 76.7%, 52.9%)
CIE-LABlab(46.84, -23.25, 44.40)
CIE-LCHlch(46.84, 50.12, 117.64°)
OKLaboklab(53.38% -0.0676 0.0987)
OKLCHoklch(53.38% 0.12 124.4)
XYZxyz(11.5423, 15.8964, 3.5586)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E781C #361C78
analogous
#78641C #5E781C #30781C
triadic
#5E781C #1C5E78 #781C5E
tetradic
#5E781C #1C7864 #361C78 #781C30
square
#5E781C #1C7864 #361C78 #781C30
split-complementary
#5E781C #1C3078 #641C78
monochromatic
#131906 #374610 #5E781C #85AA28 #A8D23D

Accessibility & contrast

On white

5.02
#5E781C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5E781C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E781C
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E781C#FFFFFF#000000##FFFFFF
##5E781C1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7009
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#637266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e781c;
/* rgb */ color: rgb(94, 120, 28);
/* oklch */ color: oklch(53.4% 0.120 124.4);
Tailwind
colors: {
  custom: {
    50: '#8f9f60',
    500: '#5e781c',
    950: '#000000',
  },
}
SCSS
$custom: #5e781c;
$custom-light: #8f9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#5e781c",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 76.957,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5338,
    "c": 0.11964,
    "h": 124.4
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#5E781C
secondary
#6144AC
accent
#43E571
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E781C

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

Preview Lab → · Contrast checker → · Palette generator →

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