#5D7D1C#5D7D1C

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

Color values

HEX#5D7D1C
RGBrgb(93, 125, 28)
HSLhsl(80, 63%, 30%)
HSVhsv(80, 78%, 49%)
CMYKcmyk(25.6%, 0%, 77.6%, 51%)
CIE-LABlab(48.36, -26.17, 45.84)
CIE-LCHlch(48.36, 52.78, 119.73°)
OKLaboklab(54.59% -0.0755 0.1018)
OKLCHoklch(54.59% 0.127 126.6)
XYZxyz(12.0575, 17.0780, 3.7595)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7D1C #3C1C7D
analogous
#7D6D1C #5D7D1C #2C7D1C
triadic
#5D7D1C #1C5D7D #7D1C5D
tetradic
#5D7D1C #1C7D6D #3C1C7D #7D1C2C
square
#5D7D1C #1C7D6D #3C1C7D #7D1C2C
split-complementary
#5D7D1C #1C2C7D #6D1C7D
monochromatic
#131906 #384B11 #5D7D1C #82AF27 #A3D43F

Accessibility & contrast

On white

4.76
#5D7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5D7D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7D1C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7D1C#FFFFFF#000000##FFFFFF
##5D7D1C1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d7d1c;
/* rgb */ color: rgb(93, 125, 28);
/* oklch */ color: oklch(54.6% 0.127 126.6);
Tailwind
colors: {
  custom: {
    50: '#8ea260',
    500: '#5d7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #5d7d1c;
$custom-light: #8ea260;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7d1c",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 79.794,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.54594,
    "c": 0.12672,
    "h": 126.6
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#5D7D1C
secondary
#6844B1
accent
#41E678
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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