#5E7F15#5E7F15

#5E7F15 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.1% C 0.133 H 126.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5E7F15
RGBrgb(94, 127, 21)
HSLhsl(79, 72%, 29%)
HSVhsv(79, 83%, 50%)
CMYKcmyk(26%, 0%, 83.5%, 50.2%)
CIE-LABlab(49.02, -27.08, 48.77)
CIE-LCHlch(49.02, 55.78, 119.05°)
OKLaboklab(55.14% -0.0786 0.1067)
OKLCHoklch(55.14% 0.133 126.4)
XYZxyz(12.3409, 17.6124, 3.4587)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7F15 #36157F
analogous
#7F6B15 #5E7F15 #297F15
triadic
#5E7F15 #155E7F #7F155E
tetradic
#5E7F15 #157F6B #36157F #7F1529
square
#5E7F15 #157F6B #36157F #7F1529
split-complementary
#5E7F15 #15297F #6B157F
monochromatic
#131A04 #374A0C #5E7F15 #85B41E #A8DD31

Accessibility & contrast

On white

4.64
#5E7F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5E7F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7F15
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7F15#FFFFFF#000000##FFFFFF
##5E7F151.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#62796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7f15;
/* rgb */ color: rgb(94, 127, 21);
/* oklch */ color: oklch(55.1% 0.133 126.4);
Tailwind
colors: {
  custom: {
    50: '#8fa45d',
    500: '#5e7f15',
    950: '#000000',
  },
}
SCSS
$custom: #5e7f15;
$custom-light: #8fa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7f15",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 78.679,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55139,
    "c": 0.13253,
    "h": 126.4
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#5E7F15
secondary
#613CB4
accent
#39EE72
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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