#5B751A#5B751A

#5B751A is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.4% C 0.118 H 124.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5B751A
RGBrgb(91, 117, 26)
HSLhsl(77, 64%, 28%)
HSVhsv(77, 78%, 46%)
CMYKcmyk(22.2%, 0%, 77.8%, 54.1%)
CIE-LABlab(45.66, -23.15, 43.93)
CIE-LCHlch(45.66, 49.66, 117.79°)
OKLaboklab(52.37% -0.0673 0.0975)
OKLCHoklch(52.37% 0.118 124.6)
XYZxyz(10.8622, 15.0212, 3.3042)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B751A #341A75
analogous
#75611A #5B751A #2D751A
triadic
#5B751A #1A5B75 #751A5B
tetradic
#5B751A #1A7561 #341A75 #751A2D
square
#5B751A #1A7561 #341A75 #751A2D
split-complementary
#5B751A #1A2D75 #611A75
monochromatic
#131906 #34430F #5B751A #82A725 #A6D337

Accessibility & contrast

On white

5.24
#5B751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5B751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B751A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B751A#FFFFFF#000000##FFFFFF
##5B751A1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D06
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#606F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b751a;
/* rgb */ color: rgb(91, 117, 26);
/* oklch */ color: oklch(52.4% 0.118 124.6);
Tailwind
colors: {
  custom: {
    50: '#8c9c5e',
    500: '#5b751a',
    950: '#000000',
  },
}
SCSS
$custom: #5b751a;
$custom-light: #8c9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b751a",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 77.143,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.11844,
    "h": 124.6
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#5B751A
secondary
#5F41AA
accent
#41E770
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5B751A

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

Preview Lab → · Contrast checker → · Palette generator →

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