#5E7D1D#5E7D1D

#5E7D1D is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.126 H 126.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E7D1D
RGBrgb(94, 125, 29)
HSLhsl(79, 62%, 30%)
HSVhsv(79, 77%, 49%)
CMYKcmyk(24.8%, 0%, 76.8%, 51%)
CIE-LABlab(48.43, -25.69, 45.57)
CIE-LCHlch(48.43, 52.31, 119.42°)
OKLaboklab(54.67% -0.0742 0.1014)
OKLCHoklch(54.67% 0.126 126.2)
XYZxyz(12.1715, 17.1354, 3.8284)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D1D #3C1D7D
analogous
#7D6C1D #5E7D1D #2E7D1D
triadic
#5E7D1D #1D5E7D #7D1D5E
tetradic
#5E7D1D #1D7D6C #3C1D7D #7D1D2E
square
#5E7D1D #1D7D6C #3C1D7D #7D1D2E
split-complementary
#5E7D1D #1D2E7D #6C1D7D
monochromatic
#131A06 #394B11 #5E7D1D #83AF29 #A4D341

Accessibility & contrast

On white

4.74
#5E7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5E7D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7D1D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7D1D#FFFFFF#000000##FFFFFF
##5E7D1D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847409
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#62776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d1d;
/* rgb */ color: rgb(94, 125, 29);
/* oklch */ color: oklch(54.7% 0.126 126.2);
Tailwind
colors: {
  custom: {
    50: '#8fa261',
    500: '#5e7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d1d;
$custom-light: #8fa261;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d1d",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 79.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.12558,
    "h": 126.2
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#5E7D1D
secondary
#6845B1
accent
#42E577
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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