#5E7B15#5E7B15

#5E7B15 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.1% C 0.127 H 125.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5E7B15
RGBrgb(94, 123, 21)
HSLhsl(77, 71%, 28%)
HSVhsv(77, 83%, 48%)
CMYKcmyk(23.6%, 0%, 82.9%, 51.8%)
CIE-LABlab(47.75, -25.12, 47.62)
CIE-LCHlch(47.75, 53.84, 117.81°)
OKLaboklab(54.11% -0.0732 0.1043)
OKLCHoklch(54.11% 0.127 125.1)
XYZxyz(11.8345, 16.5996, 3.2899)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7B15 #32157B
analogous
#7B6515 #5E7B15 #2B7B15
triadic
#5E7B15 #155E7B #7B155E
tetradic
#5E7B15 #157B65 #32157B #7B152B
square
#5E7B15 #157B65 #32157B #7B152B
split-complementary
#5E7B15 #152B7B #65157B
monochromatic
#141A04 #36470C #5E7B15 #86AF1E #AADB2F

Accessibility & contrast

On white

4.86
#5E7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5E7B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7B15
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7B15#FFFFFF#000000##FFFFFF
##5E7B151.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#637568
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e7b15;
/* rgb */ color: rgb(94, 123, 21);
/* oklch */ color: oklch(54.1% 0.127 125.1);
Tailwind
colors: {
  custom: {
    50: '#8fa15d',
    500: '#5e7b15',
    950: '#000000',
  },
}
SCSS
$custom: #5e7b15;
$custom-light: #8fa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7b15",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 77.059,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54108,
    "c": 0.12743,
    "h": 125.1
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

primary
#5E7B15
secondary
#5D3BB0
accent
#3AEE6D
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5E7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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