#5E7513#5E7513

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

Color values

HEX#5E7513
RGBrgb(94, 117, 19)
HSLhsl(74, 72%, 27%)
HSVhsv(74, 84%, 46%)
CMYKcmyk(19.7%, 0%, 83.8%, 54.1%)
CIE-LABlab(45.84, -22.18, 46.51)
CIE-LCHlch(45.84, 51.53, 115.50°)
OKLaboklab(52.56% -0.0654 0.1016)
OKLCHoklch(52.56% 0.121 122.8)
XYZxyz(11.0951, 15.1492, 2.9555)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7513 #2A1375
analogous
#755B13 #5E7513 #2D7513
triadic
#5E7513 #135E75 #75135E
tetradic
#5E7513 #13755B #2A1375 #75132D
square
#5E7513 #13755B #2A1375 #75132D
split-complementary
#5E7513 #132D75 #5B1375
monochromatic
#151A04 #34400A #5E7513 #88AA1C #B1DC27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7513#FFFFFF#000000##FFFFFF
##5E75131.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)
#796C1D
Tritanopia (blue-blind)
#636F63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e7513;
/* rgb */ color: rgb(94, 117, 19);
/* oklch */ color: oklch(52.6% 0.121 122.8);
Tailwind
colors: {
  custom: {
    50: '#8f9c5b',
    500: '#5e7513',
    950: '#000000',
  },
}
SCSS
$custom: #5e7513;
$custom-light: #8f9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7513",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 74.082,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52556,
    "c": 0.12081,
    "h": 122.8
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#5E7513
secondary
#5338AB
accent
#39EF64
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7513

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

Preview Lab → · Contrast checker → · Palette generator →

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