#5D7215#5D7215

#5D7215 is a mid, moderate yellow-green. Relative luminance 0.144; OKLCH L 51.7% C 0.116 H 122.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5D7215
RGBrgb(93, 114, 21)
HSLhsl(74, 69%, 26%)
HSVhsv(74, 82%, 45%)
CMYKcmyk(18.4%, 0%, 81.6%, 55.3%)
CIE-LABlab(44.82, -20.99, 44.94)
CIE-LCHlch(44.82, 49.60, 115.04°)
OKLaboklab(51.72% -0.0619 0.0986)
OKLCHoklch(51.72% 0.116 122.1)
XYZxyz(10.6670, 14.4159, 2.9299)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7215 #2A1572
analogous
#725915 #5D7215 #2F7215
triadic
#5D7215 #155D72 #72155D
tetradic
#5D7215 #157259 #2A1572 #72152F
square
#5D7215 #157259 #2A1572 #72152F
split-complementary
#5D7215 #152F72 #591572
monochromatic
#151A05 #333E0B #5D7215 #87A61F #B0D82A

Accessibility & contrast

On white

5.41
#5D7215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5D7215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7215
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7215#FFFFFF#000000##FFFFFF
##5D72151.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#776A1E
Tritanopia (blue-blind)
#626C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d7215;
/* rgb */ color: rgb(93, 114, 21);
/* oklch */ color: oklch(51.7% 0.116 122.1);
Tailwind
colors: {
  custom: {
    50: '#8e9a5b',
    500: '#5d7215',
    950: '#000000',
  },
}
SCSS
$custom: #5d7215;
$custom-light: #8e9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7215",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 73.548,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.11646,
    "h": 122.1
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#5D7215
secondary
#533BA8
accent
#3CEC64
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7215

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

Preview Lab → · Contrast checker → · Palette generator →

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