#5E7A15#5E7A15

#5E7A15 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.8% C 0.126 H 124.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5E7A15
RGBrgb(94, 122, 21)
HSLhsl(77, 71%, 28%)
HSVhsv(77, 83%, 48%)
CMYKcmyk(23%, 0%, 82.8%, 52.2%)
CIE-LABlab(47.43, -24.62, 47.34)
CIE-LCHlch(47.43, 53.36, 117.48°)
OKLaboklab(53.85% -0.0719 0.1037)
OKLCHoklch(53.85% 0.126 124.7)
XYZxyz(11.7111, 16.3528, 3.2487)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7A15 #31157A
analogous
#7A6315 #5E7A15 #2B7A15
triadic
#5E7A15 #155E7A #7A155E
tetradic
#5E7A15 #157A63 #31157A #7A152B
square
#5E7A15 #157A63 #31157A #7A152B
split-complementary
#5E7A15 #152B7A #63157A
monochromatic
#141A04 #36460C #5E7A15 #86AE1E #ABDB2E

Accessibility & contrast

On white

4.92
#5E7A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5E7A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7A15
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7A15#FFFFFF#000000##FFFFFF
##5E7A151.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7E7020
Tritanopia (blue-blind)
#637468
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e7a15;
/* rgb */ color: rgb(94, 122, 21);
/* oklch */ color: oklch(53.8% 0.126 124.7);
Tailwind
colors: {
  custom: {
    50: '#8fa05d',
    500: '#5e7a15',
    950: '#000000',
  },
}
SCSS
$custom: #5e7a15;
$custom-light: #8fa05d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7a15",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 76.634,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.12616,
    "h": 124.7
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#5E7A15
secondary
#5C3BAF
accent
#3AED6C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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