#5D7210#5D7210

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

Color values

HEX#5D7210
RGBrgb(93, 114, 16)
HSLhsl(73, 75%, 25%)
HSVhsv(73, 86%, 45%)
CMYKcmyk(18.4%, 0%, 86%, 55.3%)
CIE-LABlab(44.80, -21.21, 46.44)
CIE-LCHlch(44.80, 51.05, 114.55°)
OKLaboklab(51.69% -0.0629 0.1009)
OKLCHoklch(51.69% 0.119 121.9)
XYZxyz(10.6252, 14.3992, 2.7097)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7210 #251072
analogous
#725610 #5D7210 #2C7210
triadic
#5D7210 #105D72 #72105D
tetradic
#5D7210 #107256 #251072 #72102C
square
#5D7210 #107256 #251072 #72102C
split-complementary
#5D7210 #102C72 #561072
monochromatic
#161B04 #313C08 #5D7210 #89A818 #B5DD1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7210#FFFFFF#000000##FFFFFF
##5D72101.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)
#776A1B
Tritanopia (blue-blind)
#636C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d7210;
/* rgb */ color: rgb(93, 114, 16);
/* oklch */ color: oklch(51.7% 0.119 121.9);
Tailwind
colors: {
  custom: {
    50: '#8e9a59',
    500: '#5d7210',
    950: '#000000',
  },
}
SCSS
$custom: #5d7210;
$custom-light: #8e9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7210",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 72.857,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51694,
    "c": 0.11891,
    "h": 121.9
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#5D7210
secondary
#4D34A9
accent
#36F25E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7210

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

Preview Lab → · Contrast checker → · Palette generator →

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