#5E7C1D#5E7C1D

#5E7C1D is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.4% C 0.124 H 125.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5E7C1D
RGBrgb(94, 124, 29)
HSLhsl(79, 62%, 30%)
HSVhsv(79, 77%, 49%)
CMYKcmyk(24.2%, 0%, 76.6%, 51.4%)
CIE-LABlab(48.11, -25.20, 45.26)
CIE-LCHlch(48.11, 51.80, 119.11°)
OKLaboklab(54.42% -0.0728 0.1007)
OKLCHoklch(54.42% 0.124 125.9)
XYZxyz(12.0456, 16.8835, 3.7864)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7C1D #3B1D7C
analogous
#7C6A1D #5E7C1D #2F7C1D
triadic
#5E7C1D #1D5E7C #7C1D5E
tetradic
#5E7C1D #1D7C6A #3B1D7C #7C1D2F
square
#5E7C1D #1D7C6A #3B1D7C #7C1D2F
split-complementary
#5E7C1D #1D2F7C #6A1D7C
monochromatic
#131906 #384A11 #5E7C1D #84AE29 #A5D341

Accessibility & contrast

On white

4.80
#5E7C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5E7C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7C1D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7C1D#FFFFFF#000000##FFFFFF
##5E7C1D1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e7c1d;
/* rgb */ color: rgb(94, 124, 29);
/* oklch */ color: oklch(54.4% 0.124 125.9);
Tailwind
colors: {
  custom: {
    50: '#8fa261',
    500: '#5e7c1d',
    950: '#000000',
  },
}
SCSS
$custom: #5e7c1d;
$custom-light: #8fa261;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7c1d",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 78.947,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.54415,
    "c": 0.12427,
    "h": 125.9
  },
  "luminance": 0.16884
}

Semantic roles & 50–950 ramp

primary
#5E7C1D
secondary
#6745B0
accent
#43E576
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5E7C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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