#5B7610#5B7610

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

Color values

HEX#5B7610
RGBrgb(91, 118, 16)
HSLhsl(76, 76%, 26%)
HSVhsv(76, 86%, 46%)
CMYKcmyk(22.9%, 0%, 86.4%, 53.7%)
CIE-LABlab(45.93, -24.13, 47.37)
CIE-LCHlch(45.93, 53.16, 116.99°)
OKLaboklab(52.57% -0.0707 0.103)
OKLCHoklch(52.57% 0.125 124.5)
XYZxyz(10.8865, 15.2183, 2.8540)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7610 #2B1076
analogous
#765E10 #5B7610 #287610
triadic
#5B7610 #105B76 #76105B
tetradic
#5B7610 #10765E #2B1076 #761028
square
#5B7610 #10765E #2B1076 #761028
split-complementary
#5B7610 #102876 #5E1076
monochromatic
#151B04 #314009 #5B7610 #85AC17 #AEE120

Accessibility & contrast

On white

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

On black

4.04
#5B7610 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5B7610#FFFFFF#000000##FFFFFF
##5B76101.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b7610;
/* rgb */ color: rgb(91, 118, 16);
/* oklch */ color: oklch(52.6% 0.125 124.5);
Tailwind
colors: {
  custom: {
    50: '#8d9d5a',
    500: '#5b7610',
    950: '#000000',
  },
}
SCSS
$custom: #5b7610;
$custom-light: #8d9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7610",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 16
  },
  "hsl": {
    "h": 75.882,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.12493,
    "h": 124.5
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#5B7610
secondary
#5535AD
accent
#35F367
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5B7610

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

Preview Lab → · Contrast checker → · Palette generator →

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