#5E7D1E#5E7D1E

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

Color values

HEX#5E7D1E
RGBrgb(94, 125, 30)
HSLhsl(80, 61%, 30%)
HSVhsv(80, 76%, 49%)
CMYKcmyk(24.8%, 0%, 76%, 51%)
CIE-LABlab(48.44, -25.63, 45.20)
CIE-LCHlch(48.44, 51.96, 119.56°)
OKLaboklab(54.68% -0.0739 0.1008)
OKLCHoklch(54.68% 0.125 126.3)
XYZxyz(12.1841, 17.1405, 3.8946)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D1E #3D1E7D
analogous
#7D6C1E #5E7D1E #2E7D1E
triadic
#5E7D1E #1E5E7D #7D1E5E
tetradic
#5E7D1E #1E7D6C #3D1E7D #7D1E2E
square
#5E7D1E #1E7D6C #3D1E7D #7D1E2E
split-complementary
#5E7D1E #1E2E7D #6C1E7D
monochromatic
#141A06 #394C12 #5E7D1E #83AE2A #A3D243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7D1E#FFFFFF#000000##FFFFFF
##5E7D1E1.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)
#84740B
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#62776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d1e;
/* rgb */ color: rgb(94, 125, 30);
/* oklch */ color: oklch(54.7% 0.125 126.3);
Tailwind
colors: {
  custom: {
    50: '#8fa261',
    500: '#5e7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d1e;
$custom-light: #8fa261;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d1e",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 79.579,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.12496,
    "h": 126.3
  },
  "luminance": 0.17141
}

Semantic roles & 50–950 ramp

primary
#5E7D1E
secondary
#6946B0
accent
#43E478
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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