#5B7C14#5B7C14

#5B7C14 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.1% C 0.131 H 126.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5B7C14
RGBrgb(91, 124, 20)
HSLhsl(79, 72%, 28%)
HSVhsv(79, 84%, 49%)
CMYKcmyk(26.6%, 0%, 83.9%, 51.4%)
CIE-LABlab(47.87, -26.93, 47.95)
CIE-LCHlch(47.87, 55.00, 119.32°)
OKLaboklab(54.15% -0.078 0.1049)
OKLCHoklch(54.15% 0.131 126.6)
XYZxyz(11.6484, 16.6897, 3.2694)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7C14 #35147C
analogous
#7C6914 #5B7C14 #277C14
triadic
#5B7C14 #145B7C #7C145B
tetradic
#5B7C14 #147C69 #35147C #7C1427
square
#5B7C14 #147C69 #35147C #7C1427
split-complementary
#5B7C14 #14277C #69147C
monochromatic
#131A04 #34470B #5B7C14 #82B11D #A5DD2D

Accessibility & contrast

On white

4.84
#5B7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5B7C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7C14
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7C14#FFFFFF#000000##FFFFFF
##5B7C141.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#5F7669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b7c14;
/* rgb */ color: rgb(91, 124, 20);
/* oklch */ color: oklch(54.1% 0.131 126.6);
Tailwind
colors: {
  custom: {
    50: '#8da25d',
    500: '#5b7c14',
    950: '#000000',
  },
}
SCSS
$custom: #5b7c14;
$custom-light: #8da25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7c14",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 79.038,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.13076,
    "h": 126.6
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

primary
#5B7C14
secondary
#603AB2
accent
#39EF73
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0F05
muted
#7D7E79

Preview Lab

Preview with #5B7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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