#5E781B#5E781B

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

Color values

HEX#5E781B
RGBrgb(94, 120, 27)
HSLhsl(77, 63%, 29%)
HSVhsv(77, 78%, 47%)
CMYKcmyk(21.7%, 0%, 77.5%, 52.9%)
CIE-LABlab(46.83, -23.31, 44.76)
CIE-LCHlch(46.83, 50.47, 117.51°)
OKLaboklab(53.37% -0.0678 0.0993)
OKLCHoklch(53.37% 0.12 124.3)
XYZxyz(11.5305, 15.8916, 3.4966)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E781B #351B78
analogous
#78641B #5E781B #30781B
triadic
#5E781B #1B5E78 #781B5E
tetradic
#5E781B #1B7864 #351B78 #781B30
square
#5E781B #1B7864 #351B78 #781B30
split-complementary
#5E781B #1B3078 #641B78
monochromatic
#141906 #374610 #5E781B #85AA26 #A8D33B

Accessibility & contrast

On white

5.03
#5E781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E781B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E781B#FFFFFF#000000##FFFFFF
##5E781B1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e781b;
/* rgb */ color: rgb(94, 120, 27);
/* oklch */ color: oklch(53.4% 0.120 124.3);
Tailwind
colors: {
  custom: {
    50: '#8f9f5f',
    500: '#5e781b',
    950: '#000000',
  },
}
SCSS
$custom: #5e781b;
$custom-light: #8f9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e781b",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 76.774,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.12026,
    "h": 124.3
  },
  "luminance": 0.15892
}

Semantic roles & 50–950 ramp

primary
#5E781B
secondary
#6043AC
accent
#41E670
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E781B

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

Preview Lab → · Contrast checker → · Palette generator →

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