#5B7614#5B7614

#5B7614 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.123 H 124.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5B7614
RGBrgb(91, 118, 20)
HSLhsl(77, 71%, 27%)
HSVhsv(77, 83%, 46%)
CMYKcmyk(22.9%, 0%, 83.1%, 53.7%)
CIE-LABlab(45.95, -23.96, 46.23)
CIE-LCHlch(45.95, 52.07, 117.40°)
OKLaboklab(52.59% -0.07 0.1013)
OKLCHoklch(52.59% 0.123 124.6)
XYZxyz(10.9192, 15.2314, 3.0264)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7614 #2F1476
analogous
#766014 #5B7614 #2A7614
triadic
#5B7614 #145B76 #76145B
tetradic
#5B7614 #147660 #2F1476 #76142A
square
#5B7614 #147660 #2F1476 #76142A
split-complementary
#5B7614 #142A76 #601476
monochromatic
#141A04 #33420B #5B7614 #83AA1D #AADB2A

Accessibility & contrast

On white

5.19
#5B7614 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5B7614 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7614
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7614#FFFFFF#000000##FFFFFF
##5B76141.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#796D1E
Tritanopia (blue-blind)
#607064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b7614;
/* rgb */ color: rgb(91, 118, 20);
/* oklch */ color: oklch(52.6% 0.123 124.6);
Tailwind
colors: {
  custom: {
    50: '#8d9d5c',
    500: '#5b7614',
    950: '#000000',
  },
}
SCSS
$custom: #5b7614;
$custom-light: #8d9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7614",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 20
  },
  "hsl": {
    "h": 76.531,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52593,
    "c": 0.12308,
    "h": 124.6
  },
  "luminance": 0.15232
}

Semantic roles & 50–950 ramp

primary
#5B7614
secondary
#593AAC
accent
#3AEE6C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5B7614

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

Preview Lab → · Contrast checker → · Palette generator →

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