#5E7D1B#5E7D1B

#5E7D1B is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.127 H 126.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5E7D1B
RGBrgb(94, 125, 27)
HSLhsl(79, 64%, 30%)
HSVhsv(79, 78%, 49%)
CMYKcmyk(24.8%, 0%, 78.4%, 51%)
CIE-LABlab(48.42, -25.81, 46.27)
CIE-LCHlch(48.42, 52.98, 119.15°)
OKLaboklab(54.66% -0.0746 0.1025)
OKLCHoklch(54.66% 0.127 126.1)
XYZxyz(12.1476, 17.1259, 3.7023)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D1B #3A1B7D
analogous
#7D6B1B #5E7D1B #2D7D1B
triadic
#5E7D1B #1B5E7D #7D1B5E
tetradic
#5E7D1B #1B7D6B #3A1B7D #7D1B2D
square
#5E7D1B #1B7D6B #3A1B7D #7D1B2D
split-complementary
#5E7D1B #1B2D7D #6B1B7D
monochromatic
#131905 #384B10 #5E7D1B #84AF26 #A5D53D

Accessibility & contrast

On white

4.75
#5E7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5E7D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7D1B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7D1B#FFFFFF#000000##FFFFFF
##5E7D1B1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847404
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#62776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d1b;
/* rgb */ color: rgb(94, 125, 27);
/* oklch */ color: oklch(54.7% 0.127 126.1);
Tailwind
colors: {
  custom: {
    50: '#8fa260',
    500: '#5e7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d1b;
$custom-light: #8fa260;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d1b",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 78.98,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54658,
    "c": 0.12679,
    "h": 126.1
  },
  "luminance": 0.17126
}

Semantic roles & 50–950 ramp

primary
#5E7D1B
secondary
#6643B1
accent
#40E775
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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