#5E7D15#5E7D15

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

Color values

HEX#5E7D15
RGBrgb(94, 125, 21)
HSLhsl(78, 71%, 29%)
HSVhsv(78, 83%, 49%)
CMYKcmyk(24.8%, 0%, 83.2%, 51%)
CIE-LABlab(48.39, -26.10, 48.20)
CIE-LCHlch(48.39, 54.81, 118.44°)
OKLaboklab(54.62% -0.0759 0.1055)
OKLCHoklch(54.62% 0.13 125.7)
XYZxyz(12.0852, 17.1009, 3.3734)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D15 #34157D
analogous
#7D6815 #5E7D15 #2A7D15
triadic
#5E7D15 #155E7D #7D155E
tetradic
#5E7D15 #157D68 #34157D #7D152A
square
#5E7D15 #157D68 #34157D #7D152A
split-complementary
#5E7D15 #152A7D #68157D
monochromatic
#141A04 #37490C #5E7D15 #85B11E #A9DC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7D15#FFFFFF#000000##FFFFFF
##5E7D151.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)
#807220
Tritanopia (blue-blind)
#63776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d15;
/* rgb */ color: rgb(94, 125, 21);
/* oklch */ color: oklch(54.6% 0.130 125.7);
Tailwind
colors: {
  custom: {
    50: '#8fa25d',
    500: '#5e7d15',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d15;
$custom-light: #8fa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d15",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 77.885,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.12998,
    "h": 125.7
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#5E7D15
secondary
#5F3CB2
accent
#3AEE70
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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