#5B7E10#5B7E10

#5B7E10 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.135 H 127.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5B7E10
RGBrgb(91, 126, 16)
HSLhsl(79, 77%, 28%)
HSVhsv(79, 87%, 49%)
CMYKcmyk(27.8%, 0%, 87.3%, 50.6%)
CIE-LABlab(48.49, -28.06, 49.59)
CIE-LCHlch(48.49, 56.98, 119.50°)
OKLaboklab(54.65% -0.0813 0.1077)
OKLCHoklch(54.65% 0.135 127.1)
XYZxyz(11.8688, 17.1830, 3.1815)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7E10 #33107E
analogous
#7E6A10 #5B7E10 #247E10
triadic
#5B7E10 #105B7E #7E105B
tetradic
#5B7E10 #107E6A #33107E #7E1024
square
#5B7E10 #107E6A #33107E #7E1024
split-complementary
#5B7E10 #10247E #6A107E
monochromatic
#141B03 #344809 #5B7E10 #82B417 #A7E325

Accessibility & contrast

On white

4.73
#5B7E10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5B7E10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7E10
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7E10#FFFFFF#000000##FFFFFF
##5B7E101.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#80731E
Tritanopia (blue-blind)
#5F786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b7e10;
/* rgb */ color: rgb(91, 126, 16);
/* oklch */ color: oklch(54.6% 0.135 127.1);
Tailwind
colors: {
  custom: {
    50: '#8da35b',
    500: '#5b7e10',
    950: '#000000',
  },
}
SCSS
$custom: #5b7e10;
$custom-light: #8da35b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7e10",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 79.091,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.135,
    "h": 127.1
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#5B7E10
secondary
#5E36B4
accent
#34F471
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F04
muted
#7E7F79

Preview Lab

Preview with #5B7E10

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

Preview Lab → · Contrast checker → · Palette generator →

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