#5E7E15#5E7E15

#5E7E15 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.131 H 126.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5E7E15
RGBrgb(94, 126, 21)
HSLhsl(78, 71%, 29%)
HSVhsv(78, 83%, 49%)
CMYKcmyk(25.4%, 0%, 83.3%, 50.6%)
CIE-LABlab(48.70, -26.60, 48.48)
CIE-LCHlch(48.70, 55.30, 118.75°)
OKLaboklab(54.88% -0.0772 0.1061)
OKLCHoklch(54.88% 0.131 126)
XYZxyz(12.2124, 17.3553, 3.4158)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7E15 #35157E
analogous
#7E6A15 #5E7E15 #297E15
triadic
#5E7E15 #155E7E #7E155E
tetradic
#5E7E15 #157E6A #35157E #7E1529
square
#5E7E15 #157E6A #35157E #7E1529
split-complementary
#5E7E15 #15297E #6A157E
monochromatic
#141A04 #374A0C #5E7E15 #85B21E #A8DD31

Accessibility & contrast

On white

4.70
#5E7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5E7E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7E15
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7E15#FFFFFF#000000##FFFFFF
##5E7E151.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#62786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7e15;
/* rgb */ color: rgb(94, 126, 21);
/* oklch */ color: oklch(54.9% 0.131 126.0);
Tailwind
colors: {
  custom: {
    50: '#8fa35d',
    500: '#5e7e15',
    950: '#000000',
  },
}
SCSS
$custom: #5e7e15;
$custom-light: #8fa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7e15",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 78.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.13125,
    "h": 126
  },
  "luminance": 0.17356
}

Semantic roles & 50–950 ramp

primary
#5E7E15
secondary
#603CB3
accent
#3AEE71
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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