#5B760F#5B760F

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

Color values

HEX#5B760F
RGBrgb(91, 118, 15)
HSLhsl(76, 77%, 26%)
HSVhsv(76, 87%, 46%)
CMYKcmyk(22.9%, 0%, 87.3%, 53.7%)
CIE-LABlab(45.93, -24.16, 47.63)
CIE-LCHlch(45.93, 53.41, 116.90°)
OKLaboklab(52.57% -0.0709 0.1034)
OKLCHoklch(52.57% 0.125 124.4)
XYZxyz(10.8792, 15.2154, 2.8156)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B760F #2A0F76
analogous
#765D0F #5B760F #27760F
triadic
#5B760F #0F5B76 #760F5B
tetradic
#5B760F #0F765D #2A0F76 #760F27
square
#5B760F #0F765D #2A0F76 #760F27
split-complementary
#5B760F #0F2776 #5D0F76
monochromatic
#151B03 #314008 #5B760F #85AC16 #AFE21D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B760F#FFFFFF#000000##FFFFFF
##5B760F1.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)
#7A6C1B
Tritanopia (blue-blind)
#607064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b760f;
/* rgb */ color: rgb(91, 118, 15);
/* oklch */ color: oklch(52.6% 0.125 124.4);
Tailwind
colors: {
  custom: {
    50: '#8d9d5a',
    500: '#5b760f',
    950: '#000000',
  },
}
SCSS
$custom: #5b760f;
$custom-light: #8d9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b760f",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 75.728,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52568,
    "c": 0.12534,
    "h": 124.4
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#5B760F
secondary
#5333AD
accent
#34F466
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5B760F

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

Preview Lab → · Contrast checker → · Palette generator →

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