#5E7C15#5E7C15

#5E7C15 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.4% C 0.129 H 125.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5E7C15
RGBrgb(94, 124, 21)
HSLhsl(77, 71%, 28%)
HSVhsv(77, 83%, 49%)
CMYKcmyk(24.2%, 0%, 83.1%, 51.4%)
CIE-LABlab(48.07, -25.61, 47.91)
CIE-LCHlch(48.07, 54.33, 118.13°)
OKLaboklab(54.36% -0.0746 0.1049)
OKLCHoklch(54.36% 0.129 125.4)
XYZxyz(11.9592, 16.8490, 3.3314)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7C15 #33157C
analogous
#7C6615 #5E7C15 #2A7C15
triadic
#5E7C15 #155E7C #7C155E
tetradic
#5E7C15 #157C66 #33157C #7C152A
square
#5E7C15 #157C66 #33157C #7C152A
split-complementary
#5E7C15 #152A7C #66157C
monochromatic
#141A04 #36480C #5E7C15 #86B01E #AADC30

Accessibility & contrast

On white

4.81
#5E7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5E7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7C15
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7C15#FFFFFF#000000##FFFFFF
##5E7C151.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#637669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5e7c15;
/* rgb */ color: rgb(94, 124, 21);
/* oklch */ color: oklch(54.4% 0.129 125.4);
Tailwind
colors: {
  custom: {
    50: '#8fa25d',
    500: '#5e7c15',
    950: '#000000',
  },
}
SCSS
$custom: #5e7c15;
$custom-light: #8fa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7c15",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 77.476,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54365,
    "c": 0.12871,
    "h": 125.4
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#5E7C15
secondary
#5E3CB1
accent
#3AEE6E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5E7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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