#5D7B1B#5D7B1B

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

Color values

HEX#5D7B1B
RGBrgb(93, 123, 27)
HSLhsl(79, 64%, 29%)
HSVhsv(79, 78%, 48%)
CMYKcmyk(24.4%, 0%, 78%, 51.8%)
CIE-LABlab(47.72, -25.24, 45.58)
CIE-LCHlch(47.72, 52.10, 118.98°)
OKLaboklab(54.07% -0.073 0.1011)
OKLCHoklch(54.07% 0.125 125.9)
XYZxyz(11.7951, 16.5720, 3.6140)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7B1B #391B7B
analogous
#7B691B #5D7B1B #2D7B1B
triadic
#5D7B1B #1B5D7B #7B1B5D
tetradic
#5D7B1B #1B7B69 #391B7B #7B1B2D
square
#5D7B1B #1B7B69 #391B7B #7B1B2D
split-complementary
#5D7B1B #1B2D7B #691B7B
monochromatic
#131906 #374910 #5D7B1B #83AD26 #A5D43C

Accessibility & contrast

On white

4.87
#5D7B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5D7B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7B1B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7B1B#FFFFFF#000000##FFFFFF
##5D7B1B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827205
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#617569
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d7b1b;
/* rgb */ color: rgb(93, 123, 27);
/* oklch */ color: oklch(54.1% 0.125 125.9);
Tailwind
colors: {
  custom: {
    50: '#8ea15f',
    500: '#5d7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #5d7b1b;
$custom-light: #8ea15f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7b1b",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 78.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.12469,
    "h": 125.9
  },
  "luminance": 0.16572
}

Semantic roles & 50–950 ramp

primary
#5D7B1B
secondary
#6543AF
accent
#41E775
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5D7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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