#5E7510#5E7510

#5E7510 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.5% C 0.122 H 122.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5E7510
RGBrgb(94, 117, 16)
HSLhsl(74, 76%, 26%)
HSVhsv(74, 86%, 46%)
CMYKcmyk(19.7%, 0%, 86.3%, 54.1%)
CIE-LABlab(45.82, -22.30, 47.36)
CIE-LCHlch(45.82, 52.35, 115.22°)
OKLaboklab(52.54% -0.0659 0.1029)
OKLCHoklch(52.54% 0.122 122.6)
XYZxyz(11.0711, 15.1396, 2.8291)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7510 #271075
analogous
#755910 #5E7510 #2B7510
triadic
#5E7510 #105E75 #75105E
tetradic
#5E7510 #107559 #271075 #75102B
square
#5E7510 #107559 #271075 #75102B
split-complementary
#5E7510 #102B75 #591075
monochromatic
#161B04 #333F09 #5E7510 #89AB17 #B4E01F

Accessibility & contrast

On white

5.21
#5E7510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5E7510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7510
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7510#FFFFFF#000000##FFFFFF
##5E75101.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7A6C1C
Tritanopia (blue-blind)
#636F63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e7510;
/* rgb */ color: rgb(94, 117, 16);
/* oklch */ color: oklch(52.5% 0.122 122.6);
Tailwind
colors: {
  custom: {
    50: '#8f9c5a',
    500: '#5e7510',
    950: '#000000',
  },
}
SCSS
$custom: #5e7510;
$custom-light: #8f9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7510",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 16
  },
  "hsl": {
    "h": 73.663,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52541,
    "c": 0.12217,
    "h": 122.6
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#5E7510
secondary
#5035AC
accent
#35F360
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7510

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

Preview Lab → · Contrast checker → · Palette generator →

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