#5D7211#5D7211

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

Color values

HEX#5D7211
RGBrgb(93, 114, 17)
HSLhsl(73, 74%, 26%)
HSVhsv(73, 85%, 45%)
CMYKcmyk(18.4%, 0%, 85.1%, 55.3%)
CIE-LABlab(44.80, -21.17, 46.16)
CIE-LCHlch(44.80, 50.78, 114.64°)
OKLaboklab(51.7% -0.0627 0.1005)
OKLCHoklch(51.7% 0.118 122)
XYZxyz(10.6329, 14.4022, 2.7500)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7211 #261172
analogous
#725611 #5D7211 #2C7211
triadic
#5D7211 #115D72 #72115D
tetradic
#5D7211 #117256 #261172 #72112C
square
#5D7211 #117256 #261172 #72112C
split-complementary
#5D7211 #112C72 #561172
monochromatic
#161B04 #323D09 #5D7211 #88A719 #B4DD21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5d7211;
/* rgb */ color: rgb(93, 114, 17);
/* oklch */ color: oklch(51.7% 0.118 122.0);
Tailwind
colors: {
  custom: {
    50: '#8e9a5a',
    500: '#5d7211',
    950: '#000000',
  },
}
SCSS
$custom: #5d7211;
$custom-light: #8e9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7211",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 72.99,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51699,
    "c": 0.11846,
    "h": 122
  },
  "luminance": 0.14402
}

Semantic roles & 50–950 ramp

primary
#5D7211
secondary
#4F36A9
accent
#37F15F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7211

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

Preview Lab → · Contrast checker → · Palette generator →

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