#5E7015#5E7015

#5E7015 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.3% C 0.113 H 120.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5E7015
RGBrgb(94, 112, 21)
HSLhsl(72, 68%, 26%)
HSVhsv(72, 81%, 44%)
CMYKcmyk(16.1%, 0%, 81.2%, 56.1%)
CIE-LABlab(44.26, -19.50, 44.45)
CIE-LCHlch(44.26, 48.54, 113.69°)
OKLaboklab(51.29% -0.0579 0.0976)
OKLCHoklch(51.29% 0.113 120.7)
XYZxyz(10.5458, 14.0222, 2.8603)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7015 #271570
analogous
#705415 #5E7015 #307015
triadic
#5E7015 #155E70 #70155E
tetradic
#5E7015 #157054 #271570 #701530
square
#5E7015 #157054 #271570 #701530
split-complementary
#5E7015 #153070 #541570
monochromatic
#161A05 #333C0B #5E7015 #89A41F #B4D729

Accessibility & contrast

On white

5.52
#5E7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5E7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7015
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7015#FFFFFF#000000##FFFFFF
##5E70151.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#75691E
Tritanopia (blue-blind)
#646A5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e7015;
/* rgb */ color: rgb(94, 112, 21);
/* oklch */ color: oklch(51.3% 0.113 120.7);
Tailwind
colors: {
  custom: {
    50: '#8f995b',
    500: '#5e7015',
    950: '#000000',
  },
}
SCSS
$custom: #5e7015;
$custom-light: #8f995b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7015",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 71.868,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51288,
    "c": 0.11346,
    "h": 120.7
  },
  "luminance": 0.14022
}

Semantic roles & 50–950 ramp

primary
#5E7015
secondary
#503BA6
accent
#3DEB5F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E7015

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

Preview Lab → · Contrast checker → · Palette generator →

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