#5D7E1B#5D7E1B

#5D7E1B is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.8% C 0.129 H 126.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5D7E1B
RGBrgb(93, 126, 27)
HSLhsl(80, 65%, 30%)
HSVhsv(80, 79%, 49%)
CMYKcmyk(26.2%, 0%, 78.6%, 50.6%)
CIE-LABlab(48.67, -26.72, 46.49)
CIE-LCHlch(48.67, 53.62, 119.89°)
OKLaboklab(54.85% -0.0771 0.103)
OKLCHoklch(54.85% 0.129 126.8)
XYZxyz(12.1729, 17.3278, 3.7400)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E1B #3C1B7E
analogous
#7E6E1B #5D7E1B #2B7E1B
triadic
#5D7E1B #1B5D7E #7E1B5D
tetradic
#5D7E1B #1B7E6E #3C1B7E #7E1B2B
square
#5D7E1B #1B7E6E #3C1B7E #7E1B2B
split-complementary
#5D7E1B #1B2B7E #6E1B7E
monochromatic
#131905 #384C10 #5D7E1B #82B026 #A3D63E

Accessibility & contrast

On white

4.70
#5D7E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5D7E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E1B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E1B#FFFFFF#000000##FFFFFF
##5D7E1B1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857504
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#61786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5d7e1b;
/* rgb */ color: rgb(93, 126, 27);
/* oklch */ color: oklch(54.8% 0.129 126.8);
Tailwind
colors: {
  custom: {
    50: '#8ea360',
    500: '#5d7e1b',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e1b;
$custom-light: #8ea360;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e1b",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 80,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.12861,
    "h": 126.8
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#5D7E1B
secondary
#6843B2
accent
#40E878
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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