#5B7110#5B7110

#5B7110 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.3% C 0.119 H 122.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5B7110
RGBrgb(91, 113, 16)
HSLhsl(74, 75%, 25%)
HSVhsv(74, 86%, 44%)
CMYKcmyk(19.5%, 0%, 85.8%, 55.7%)
CIE-LABlab(44.34, -21.59, 45.97)
CIE-LCHlch(44.34, 50.79, 115.15°)
OKLaboklab(51.28% -0.0638 0.1)
OKLCHoklch(51.28% 0.119 122.5)
XYZxyz(10.3132, 14.0718, 2.6629)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7110 #261071
analogous
#715610 #5B7110 #2B7110
triadic
#5B7110 #105B71 #71105B
tetradic
#5B7110 #107156 #261071 #71102B
square
#5B7110 #107156 #261071 #71102B
split-complementary
#5B7110 #102B71 #561071
monochromatic
#161B04 #303B08 #5B7110 #86A718 #B1DC1F

Accessibility & contrast

On white

5.51
#5B7110 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5B7110 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7110
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7110#FFFFFF#000000##FFFFFF
##5B71101.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#75691B
Tritanopia (blue-blind)
#606B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b7110;
/* rgb */ color: rgb(91, 113, 16);
/* oklch */ color: oklch(51.3% 0.119 122.5);
Tailwind
colors: {
  custom: {
    50: '#8d9959',
    500: '#5b7110',
    950: '#000000',
  },
}
SCSS
$custom: #5b7110;
$custom-light: #8d9959;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7110",
  "rgb": {
    "r": 91,
    "g": 113,
    "b": 16
  },
  "hsl": {
    "h": 73.608,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.11863,
    "h": 122.5
  },
  "luminance": 0.14072
}

Semantic roles & 50–950 ramp

primary
#5B7110
secondary
#4F34A9
accent
#36F261
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5B7110

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

Preview Lab → · Contrast checker → · Palette generator →

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