#5D7214#5D7214

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

Color values

HEX#5D7214
RGBrgb(93, 114, 20)
HSLhsl(73, 70%, 26%)
HSVhsv(73, 82%, 45%)
CMYKcmyk(18.4%, 0%, 82.5%, 55.3%)
CIE-LABlab(44.82, -21.04, 45.26)
CIE-LCHlch(44.82, 49.91, 114.93°)
OKLaboklab(51.72% -0.0621 0.0991)
OKLCHoklch(51.72% 0.117 122.1)
XYZxyz(10.6580, 14.4123, 2.8820)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7214 #291472
analogous
#725814 #5D7214 #2E7214
triadic
#5D7214 #145D72 #72145D
tetradic
#5D7214 #147258 #291472 #72142E
square
#5D7214 #147258 #291472 #72142E
split-complementary
#5D7214 #142E72 #581472
monochromatic
#151A05 #333E0B #5D7214 #87A61D #B1D927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7214#FFFFFF#000000##FFFFFF
##5D72141.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)
#776A1E
Tritanopia (blue-blind)
#626C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d7214;
/* rgb */ color: rgb(93, 114, 20);
/* oklch */ color: oklch(51.7% 0.117 122.1);
Tailwind
colors: {
  custom: {
    50: '#8e9a5b',
    500: '#5d7214',
    950: '#000000',
  },
}
SCSS
$custom: #5d7214;
$custom-light: #8e9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7214",
  "rgb": {
    "r": 93,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 73.404,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.11699,
    "h": 122.1
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#5D7214
secondary
#5239A8
accent
#3BED63
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5D7214

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

Preview Lab → · Contrast checker → · Palette generator →

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