#5E7D19#5E7D19

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

Color values

HEX#5E7D19
RGBrgb(94, 125, 25)
HSLhsl(79, 67%, 29%)
HSVhsv(79, 80%, 49%)
CMYKcmyk(24.8%, 0%, 80%, 51%)
CIE-LABlab(48.41, -25.91, 46.95)
CIE-LCHlch(48.41, 53.62, 118.90°)
OKLaboklab(54.65% -0.0751 0.1036)
OKLCHoklch(54.65% 0.128 125.9)
XYZxyz(12.1253, 17.1169, 3.5846)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D19 #38197D
analogous
#7D6A19 #5E7D19 #2C7D19
triadic
#5E7D19 #195E7D #7D195E
tetradic
#5E7D19 #197D6A #38197D #7D192C
square
#5E7D19 #197D6A #38197D #7D192C
split-complementary
#5E7D19 #192C7D #6A197D
monochromatic
#131A05 #384A0F #5E7D19 #84B023 #A6D739

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7D19#FFFFFF#000000##FFFFFF
##5E7D191.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)
#847400
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#62776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d19;
/* rgb */ color: rgb(94, 125, 25);
/* oklch */ color: oklch(54.6% 0.128 125.9);
Tailwind
colors: {
  custom: {
    50: '#8fa25f',
    500: '#5e7d19',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d19;
$custom-light: #8fa25f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d19",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 78.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54646,
    "c": 0.12793,
    "h": 125.9
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#5E7D19
secondary
#6340B1
accent
#3EEA73
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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