#5B7D14#5B7D14

#5B7D14 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.4% C 0.132 H 126.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5B7D14
RGBrgb(91, 125, 20)
HSLhsl(79, 72%, 28%)
HSVhsv(79, 84%, 49%)
CMYKcmyk(27.2%, 0%, 84%, 51%)
CIE-LABlab(48.19, -27.42, 48.24)
CIE-LCHlch(48.19, 55.48, 119.61°)
OKLaboklab(54.41% -0.0793 0.1055)
OKLCHoklch(54.41% 0.132 126.9)
XYZxyz(11.7743, 16.9416, 3.3114)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7D14 #36147D
analogous
#7D6A14 #5B7D14 #267D14
triadic
#5B7D14 #145B7D #7D145B
tetradic
#5B7D14 #147D6A #36147D #7D1426
square
#5B7D14 #147D6A #36147D #7D1426
split-complementary
#5B7D14 #14267D #6A147D
monochromatic
#131A04 #35480C #5B7D14 #81B21C #A5DE2E

Accessibility & contrast

On white

4.79
#5B7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5B7D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7D14
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7D14#FFFFFF#000000##FFFFFF
##5B7D141.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#5F776A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b7d14;
/* rgb */ color: rgb(91, 125, 20);
/* oklch */ color: oklch(54.4% 0.132 126.9);
Tailwind
colors: {
  custom: {
    50: '#8da25d',
    500: '#5b7d14',
    950: '#000000',
  },
}
SCSS
$custom: #5b7d14;
$custom-light: #8da25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7d14",
  "rgb": {
    "r": 91,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 79.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54408,
    "c": 0.13203,
    "h": 126.9
  },
  "luminance": 0.16942
}

Semantic roles & 50–950 ramp

primary
#5B7D14
secondary
#613AB2
accent
#39EF74
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5B7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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