#5E7520#5E7520

#5E7520 is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.113 H 123.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5E7520
RGBrgb(94, 117, 32)
HSLhsl(76, 57%, 29%)
HSVhsv(76, 73%, 46%)
CMYKcmyk(19.7%, 0%, 72.6%, 54.1%)
CIE-LABlab(45.92, -21.47, 41.92)
CIE-LCHlch(45.92, 47.10, 117.12°)
OKLaboklab(52.64% -0.0623 0.0942)
OKLCHoklch(52.64% 0.113 123.5)
XYZxyz(11.2382, 15.2065, 3.7093)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7520 #372075
analogous
#756220 #5E7520 #347520
triadic
#5E7520 #205E75 #75205E
tetradic
#5E7520 #207562 #372075 #752034
square
#5E7520 #207562 #372075 #752034
split-complementary
#5E7520 #203475 #622075
monochromatic
#131807 #374513 #5E7520 #85A52D #A7CC44

Accessibility & contrast

On white

5.20
#5E7520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5E7520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7520
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7520#FFFFFF#000000##FFFFFF
##5E75201.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D12
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#636F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e7520;
/* rgb */ color: rgb(94, 117, 32);
/* oklch */ color: oklch(52.6% 0.113 123.5);
Tailwind
colors: {
  custom: {
    50: '#8e9c61',
    500: '#5e7520',
    950: '#000000',
  },
}
SCSS
$custom: #5e7520;
$custom-light: #8e9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7520",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 76.235,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52643,
    "c": 0.11294,
    "h": 123.5
  },
  "luminance": 0.15207
}

Semantic roles & 50–950 ramp

primary
#5E7520
secondary
#6248A8
accent
#47E071
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5E7520

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

Preview Lab → · Contrast checker → · Palette generator →

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