#5B7414#5B7414

#5B7414 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 52.1% C 0.121 H 123.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5B7414
RGBrgb(91, 116, 20)
HSLhsl(76, 71%, 27%)
HSVhsv(76, 83%, 45%)
CMYKcmyk(21.6%, 0%, 82.8%, 54.5%)
CIE-LABlab(45.31, -22.95, 45.65)
CIE-LCHlch(45.31, 51.09, 116.69°)
OKLaboklab(52.08% -0.0672 0.1)
OKLCHoklch(52.08% 0.121 123.9)
XYZxyz(10.6862, 14.7653, 2.9487)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7414 #2D1474
analogous
#745D14 #5B7414 #2B7414
triadic
#5B7414 #145B74 #74145B
tetradic
#5B7414 #14745D #2D1474 #74142B
square
#5B7414 #14745D #2D1474 #74142B
split-complementary
#5B7414 #142B74 #5D1474
monochromatic
#141A05 #32400B #5B7414 #84A81D #ACDA28

Accessibility & contrast

On white

5.31
#5B7414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5B7414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7414
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7414#FFFFFF#000000##FFFFFF
##5B74141.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#606E62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b7414;
/* rgb */ color: rgb(91, 116, 20);
/* oklch */ color: oklch(52.1% 0.121 123.9);
Tailwind
colors: {
  custom: {
    50: '#8d9c5b',
    500: '#5b7414',
    950: '#000000',
  },
}
SCSS
$custom: #5b7414;
$custom-light: #8d9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7414",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 75.625,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.12052,
    "h": 123.9
  },
  "luminance": 0.14765
}

Semantic roles & 50–950 ramp

primary
#5B7414
secondary
#573AAA
accent
#3AED69
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5B7414

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

Preview Lab → · Contrast checker → · Palette generator →

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