#5D7B14#5D7B14

#5D7B14 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 54.0% C 0.128 H 125.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5D7B14
RGBrgb(93, 123, 20)
HSLhsl(77, 72%, 28%)
HSVhsv(77, 84%, 48%)
CMYKcmyk(24.4%, 0%, 83.7%, 51.8%)
CIE-LABlab(47.68, -25.59, 47.83)
CIE-LCHlch(47.68, 54.25, 118.15°)
OKLaboklab(54.03% -0.0745 0.1046)
OKLCHoklch(54.03% 0.128 125.5)
XYZxyz(11.7235, 16.5434, 3.2372)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7B14 #32147B
analogous
#7B6514 #5D7B14 #297B14
triadic
#5D7B14 #145D7B #7B145D
tetradic
#5D7B14 #147B65 #32147B #7B1429
square
#5D7B14 #147B65 #32147B #7B1429
split-complementary
#5D7B14 #14297B #65147B
monochromatic
#141A04 #35460B #5D7B14 #85B01D #A9DD2D

Accessibility & contrast

On white

4.87
#5D7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5D7B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7B14
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7B14#FFFFFF#000000##FFFFFF
##5D7B141.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#627568
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d7b14;
/* rgb */ color: rgb(93, 123, 20);
/* oklch */ color: oklch(54.0% 0.128 125.5);
Tailwind
colors: {
  custom: {
    50: '#8ea15c',
    500: '#5d7b14',
    950: '#000000',
  },
}
SCSS
$custom: #5d7b14;
$custom-light: #8ea15c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7b14",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 77.476,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5403,
    "c": 0.12843,
    "h": 125.5
  },
  "luminance": 0.16544
}

Semantic roles & 50–950 ramp

primary
#5D7B14
secondary
#5D3AB1
accent
#39EF6E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5D7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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