#5B7413#5B7413

#5B7413 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#5B7413
RGBrgb(91, 116, 19)
HSLhsl(75, 72%, 26%)
HSVhsv(75, 84%, 45%)
CMYKcmyk(21.6%, 0%, 83.6%, 54.5%)
CIE-LABlab(45.31, -22.99, 45.95)
CIE-LCHlch(45.31, 51.39, 116.58°)
OKLaboklab(52.07% -0.0674 0.1005)
OKLCHoklch(52.07% 0.121 123.9)
XYZxyz(10.6775, 14.7619, 2.9028)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7413 #2C1374
analogous
#745D13 #5B7413 #2B7413
triadic
#5B7413 #135B74 #74135B
tetradic
#5B7413 #13745D #2C1374 #74132B
square
#5B7413 #13745D #2C1374 #74132B
split-complementary
#5B7413 #132B74 #5D1374
monochromatic
#151A04 #323F0A #5B7413 #84A91C #ADDB26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B7413#FFFFFF#000000##FFFFFF
##5B74131.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)
#786B1D
Tritanopia (blue-blind)
#606E62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b7413;
/* rgb */ color: rgb(91, 116, 19);
/* oklch */ color: oklch(52.1% 0.121 123.9);
Tailwind
colors: {
  custom: {
    50: '#8d9c5b',
    500: '#5b7413',
    950: '#000000',
  },
}
SCSS
$custom: #5b7413;
$custom-light: #8d9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7413",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 19
  },
  "hsl": {
    "h": 75.464,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52071,
    "c": 0.12101,
    "h": 123.9
  },
  "luminance": 0.14762
}

Semantic roles & 50–950 ramp

primary
#5B7413
secondary
#5638AA
accent
#39EF68
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5B7413

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

Preview Lab → · Contrast checker → · Palette generator →

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