#5D7310#5D7310

#5D7310 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.9% C 0.120 H 122.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D7310
RGBrgb(93, 115, 16)
HSLhsl(73, 76%, 26%)
HSVhsv(73, 86%, 45%)
CMYKcmyk(19.1%, 0%, 86.1%, 54.9%)
CIE-LABlab(45.12, -21.72, 46.71)
CIE-LCHlch(45.12, 51.52, 114.94°)
OKLaboklab(51.95% -0.0643 0.1015)
OKLCHoklch(51.95% 0.12 122.3)
XYZxyz(10.7386, 14.6260, 2.7475)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7310 #261073
analogous
#735710 #5D7310 #2B7310
triadic
#5D7310 #105D73 #73105D
tetradic
#5D7310 #107357 #261073 #73102B
square
#5D7310 #107357 #261073 #73102B
split-complementary
#5D7310 #102B73 #571073
monochromatic
#161B04 #323D09 #5D7310 #88A917 #B4DE1F

Accessibility & contrast

On white

5.35
#5D7310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D7310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7310
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7310#FFFFFF#000000##FFFFFF
##5D73101.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#626D61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d7310;
/* rgb */ color: rgb(93, 115, 16);
/* oklch */ color: oklch(51.9% 0.120 122.3);
Tailwind
colors: {
  custom: {
    50: '#8e9b5a',
    500: '#5d7310',
    950: '#000000',
  },
}
SCSS
$custom: #5d7310;
$custom-light: #8e9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7310",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 73.333,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.5195,
    "c": 0.12016,
    "h": 122.3
  },
  "luminance": 0.14626
}

Semantic roles & 50–950 ramp

primary
#5D7310
secondary
#4F34AA
accent
#36F260
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7310

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

Preview Lab → · Contrast checker → · Palette generator →

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