#5D7E14#5D7E14

#5D7E14 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.8% C 0.132 H 126.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5D7E14
RGBrgb(93, 126, 20)
HSLhsl(79, 73%, 29%)
HSVhsv(79, 84%, 49%)
CMYKcmyk(26.2%, 0%, 84.1%, 50.6%)
CIE-LABlab(48.63, -27.06, 48.69)
CIE-LCHlch(48.63, 55.70, 119.07°)
OKLaboklab(54.81% -0.0785 0.1064)
OKLCHoklch(54.81% 0.132 126.4)
XYZxyz(12.1014, 17.2992, 3.3632)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7E14 #35147E
analogous
#7E6A14 #5D7E14 #287E14
triadic
#5D7E14 #145D7E #7E145D
tetradic
#5D7E14 #147E6A #35147E #7E1428
square
#5D7E14 #147E6A #35147E #7E1428
split-complementary
#5D7E14 #14287E #6A147E
monochromatic
#131A04 #36490C #5D7E14 #84B31C #A7DE2E

Accessibility & contrast

On white

4.71
#5D7E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5D7E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7E14
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7E14#FFFFFF#000000##FFFFFF
##5D7E141.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#61786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d7e14;
/* rgb */ color: rgb(93, 126, 20);
/* oklch */ color: oklch(54.8% 0.132 126.4);
Tailwind
colors: {
  custom: {
    50: '#8fa35d',
    500: '#5d7e14',
    950: '#000000',
  },
}
SCSS
$custom: #5d7e14;
$custom-light: #8fa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7e14",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 78.679,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.13225,
    "h": 126.4
  },
  "luminance": 0.17299
}

Semantic roles & 50–950 ramp

primary
#5D7E14
secondary
#603AB3
accent
#38EF71
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5D7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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