#5B7E14#5B7E14

#5B7E14 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.133 H 127.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5B7E14
RGBrgb(91, 126, 20)
HSLhsl(80, 73%, 29%)
HSVhsv(80, 84%, 49%)
CMYKcmyk(27.8%, 0%, 84.1%, 50.6%)
CIE-LABlab(48.51, -27.90, 48.52)
CIE-LCHlch(48.51, 55.97, 119.90°)
OKLaboklab(54.67% -0.0807 0.1061)
OKLCHoklch(54.67% 0.133 127.2)
XYZxyz(11.9016, 17.1961, 3.3538)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7E14 #37147E
analogous
#7E6C14 #5B7E14 #267E14
triadic
#5B7E14 #145B7E #7E145B
tetradic
#5B7E14 #147E6C #37147E #7E1426
square
#5B7E14 #147E6C #37147E #7E1426
split-complementary
#5B7E14 #14267E #6C147E
monochromatic
#131A04 #35490C #5B7E14 #81B31C #A4DE2E

Accessibility & contrast

On white

4.73
#5B7E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5B7E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7E14
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7E14#FFFFFF#000000##FFFFFF
##5B7E141.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#807320
Tritanopia (blue-blind)
#5F786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b7e14;
/* rgb */ color: rgb(91, 126, 20);
/* oklch */ color: oklch(54.7% 0.133 127.2);
Tailwind
colors: {
  custom: {
    50: '#8da35d',
    500: '#5b7e14',
    950: '#000000',
  },
}
SCSS
$custom: #5b7e14;
$custom-light: #8da35d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7e14",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 79.811,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54668,
    "c": 0.1333,
    "h": 127.2
  },
  "luminance": 0.17196
}

Semantic roles & 50–950 ramp

primary
#5B7E14
secondary
#623AB3
accent
#38EF75
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5B7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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