#5D7B1E#5D7B1E

#5D7B1E is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.1% C 0.123 H 126.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5D7B1E
RGBrgb(93, 123, 30)
HSLhsl(79, 61%, 30%)
HSVhsv(79, 76%, 48%)
CMYKcmyk(24.4%, 0%, 75.6%, 51.8%)
CIE-LABlab(47.73, -25.07, 44.49)
CIE-LCHlch(47.73, 51.07, 119.39°)
OKLaboklab(54.09% -0.0723 0.0993)
OKLCHoklch(54.09% 0.123 126.1)
XYZxyz(11.8316, 16.5866, 3.8062)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7B1E #3C1E7B
analogous
#7B6B1E #5D7B1E #2E7B1E
triadic
#5D7B1E #1E5D7B #7B1E5D
tetradic
#5D7B1E #1E7B6B #3C1E7B #7B1E2E
square
#5D7B1E #1E7B6B #3C1E7B #7B1E2E
split-complementary
#5D7B1E #1E2E7B #6B1E7B
monochromatic
#131906 #384A12 #5D7B1E #82AC2A #A3D142

Accessibility & contrast

On white

4.86
#5D7B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5D7B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7B1E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7B1E#FFFFFF#000000##FFFFFF
##5D7B1E1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720C
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#617569
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d7b1e;
/* rgb */ color: rgb(93, 123, 30);
/* oklch */ color: oklch(54.1% 0.123 126.1);
Tailwind
colors: {
  custom: {
    50: '#8ea161',
    500: '#5d7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #5d7b1e;
$custom-light: #8ea161;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7b1e",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 79.355,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.54093,
    "c": 0.12283,
    "h": 126.1
  },
  "luminance": 0.16587
}

Semantic roles & 50–950 ramp

primary
#5D7B1E
secondary
#6846AE
accent
#44E478
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0F05
muted
#7D7E79

Preview Lab

Preview with #5D7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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