#5D7213#5D7213

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

Color values

HEX#5D7213
RGBrgb(93, 114, 19)
HSLhsl(73, 71%, 26%)
HSVhsv(73, 83%, 45%)
CMYKcmyk(18.4%, 0%, 83.3%, 55.3%)
CIE-LABlab(44.81, -21.08, 45.57)
CIE-LCHlch(44.81, 50.21, 114.83°)
OKLaboklab(51.71% -0.0623 0.0996)
OKLCHoklch(51.71% 0.118 122)
XYZxyz(10.6492, 14.4088, 2.8361)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7213 #281372
analogous
#725713 #5D7213 #2D7213
triadic
#5D7213 #135D72 #72135D
tetradic
#5D7213 #137257 #281372 #72132D
square
#5D7213 #137257 #281372 #72132D
split-complementary
#5D7213 #132D72 #571372
monochromatic
#151A04 #323E0A #5D7213 #88A61C #B2DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7213#FFFFFF#000000##FFFFFF
##5D72131.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)
#796A00
Deuteranopia (green-blind)
#776A1D
Tritanopia (blue-blind)
#626C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d7213;
/* rgb */ color: rgb(93, 114, 19);
/* oklch */ color: oklch(51.7% 0.117 122.0);
Tailwind
colors: {
  custom: {
    50: '#8e9a5b',
    500: '#5d7213',
    950: '#000000',
  },
}
SCSS
$custom: #5d7213;
$custom-light: #8e9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7213",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 73.263,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.1175,
    "h": 122
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#5D7213
secondary
#5138A9
accent
#3AEE62
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7213

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

Preview Lab → · Contrast checker → · Palette generator →

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