#5D7C1D#5D7C1D

#5D7C1D is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.3% C 0.125 H 126.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5D7C1D
RGBrgb(93, 124, 29)
HSLhsl(80, 62%, 30%)
HSVhsv(80, 77%, 49%)
CMYKcmyk(25%, 0%, 76.6%, 51.4%)
CIE-LABlab(48.05, -25.62, 45.17)
CIE-LCHlch(48.05, 51.93, 119.56°)
OKLaboklab(54.34% -0.0739 0.1006)
OKLCHoklch(54.34% 0.125 126.3)
XYZxyz(11.9437, 16.8310, 3.7816)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7C1D #3C1D7C
analogous
#7C6C1D #5D7C1D #2D7C1D
triadic
#5D7C1D #1D5D7C #7C1D5D
tetradic
#5D7C1D #1D7C6C #3C1D7C #7C1D2D
square
#5D7C1D #1D7C6C #3C1D7C #7C1D2D
split-complementary
#5D7C1D #1D2D7C #6C1D7C
monochromatic
#131906 #384A11 #5D7C1D #82AE29 #A3D341

Accessibility & contrast

On white

4.81
#5D7C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5D7C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7C1D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7C1D#FFFFFF#000000##FFFFFF
##5D7C1D1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837309
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#61766A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d7c1d;
/* rgb */ color: rgb(93, 124, 29);
/* oklch */ color: oklch(54.3% 0.125 126.3);
Tailwind
colors: {
  custom: {
    50: '#8ea261',
    500: '#5d7c1d',
    950: '#000000',
  },
}
SCSS
$custom: #5d7c1d;
$custom-light: #8ea261;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7c1d",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 79.579,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.12479,
    "h": 126.3
  },
  "luminance": 0.16831
}

Semantic roles & 50–950 ramp

primary
#5D7C1D
secondary
#6845B0
accent
#43E578
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5D7C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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