#5E7D1A#5E7D1A

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

Color values

HEX#5E7D1A
RGBrgb(94, 125, 26)
HSLhsl(79, 66%, 30%)
HSVhsv(79, 79%, 49%)
CMYKcmyk(24.8%, 0%, 79.2%, 51%)
CIE-LABlab(48.41, -25.86, 46.61)
CIE-LCHlch(48.41, 53.31, 119.02°)
OKLaboklab(54.65% -0.0749 0.103)
OKLCHoklch(54.65% 0.127 126)
XYZxyz(12.1362, 17.1213, 3.6424)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D1A #391A7D
analogous
#7D6B1A #5E7D1A #2C7D1A
triadic
#5E7D1A #1A5E7D #7D1A5E
tetradic
#5E7D1A #1A7D6B #391A7D #7D1A2C
square
#5E7D1A #1A7D6B #391A7D #7D1A2C
split-complementary
#5E7D1A #1A2C7D #6B1A7D
monochromatic
#131905 #384A0F #5E7D1A #84B025 #A6D63B

Accessibility & contrast

On white

4.75
#5E7D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E7D1A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7D1A#FFFFFF#000000##FFFFFF
##5E7D1A1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847402
Deuteranopia (green-blind)
#807224
Tritanopia (blue-blind)
#62776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d1a;
/* rgb */ color: rgb(94, 125, 26);
/* oklch */ color: oklch(54.7% 0.127 126.0);
Tailwind
colors: {
  custom: {
    50: '#8fa25f',
    500: '#5e7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d1a;
$custom-light: #8fa25f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d1a",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 78.788,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54652,
    "c": 0.12737,
    "h": 126
  },
  "luminance": 0.17121
}

Semantic roles & 50–950 ramp

primary
#5E7D1A
secondary
#6542B1
accent
#3FE974
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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