#5D7513#5D7513

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

Color values

HEX#5D7513
RGBrgb(93, 117, 19)
HSLhsl(75, 72%, 27%)
HSVhsv(75, 84%, 46%)
CMYKcmyk(20.5%, 0%, 83.8%, 54.1%)
CIE-LABlab(45.77, -22.62, 46.42)
CIE-LCHlch(45.77, 51.64, 115.98°)
OKLaboklab(52.48% -0.0665 0.1014)
OKLCHoklch(52.48% 0.121 123.3)
XYZxyz(10.9932, 15.0967, 2.9508)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7513 #2B1375
analogous
#755C13 #5D7513 #2C7513
triadic
#5D7513 #135D75 #75135D
tetradic
#5D7513 #13755C #2B1375 #75132C
square
#5D7513 #13755C #2B1375 #75132C
split-complementary
#5D7513 #132C75 #5C1375
monochromatic
#151A04 #33400A #5D7513 #87AA1C #AFDC27

Accessibility & contrast

On white

5.22
#5D7513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5D7513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7513
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7513#FFFFFF#000000##FFFFFF
##5D75131.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#626F63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d7513;
/* rgb */ color: rgb(93, 117, 19);
/* oklch */ color: oklch(52.5% 0.121 123.3);
Tailwind
colors: {
  custom: {
    50: '#8e9c5b',
    500: '#5d7513',
    950: '#000000',
  },
}
SCSS
$custom: #5d7513;
$custom-light: #8e9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7513",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 74.694,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52479,
    "c": 0.1213,
    "h": 123.3
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#5D7513
secondary
#5538AB
accent
#39EF66
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7513

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

Preview Lab → · Contrast checker → · Palette generator →

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