#5B751E#5B751E

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

Color values

HEX#5B751E
RGBrgb(91, 117, 30)
HSLhsl(78, 59%, 29%)
HSVhsv(78, 74%, 46%)
CMYKcmyk(22.2%, 0%, 74.4%, 54.1%)
CIE-LABlab(45.69, -22.91, 42.43)
CIE-LCHlch(45.69, 48.22, 118.36°)
OKLaboklab(52.4% -0.0662 0.095)
OKLCHoklch(52.4% 0.116 124.9)
XYZxyz(10.9101, 15.0403, 3.5563)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B751E #381E75
analogous
#75641E #5B751E #30751E
triadic
#5B751E #1E5B75 #751E5B
tetradic
#5B751E #1E7564 #381E75 #751E30
square
#5B751E #1E7564 #381E75 #751E30
split-complementary
#5B751E #1E3075 #641E75
monochromatic
#131806 #354412 #5B751E #81A62A #A3CE40

Accessibility & contrast

On white

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

On black

4.01
#5B751E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5B751E#FFFFFF#000000##FFFFFF
##5B751E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0F
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#5F6F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b751e;
/* rgb */ color: rgb(91, 117, 30);
/* oklch */ color: oklch(52.4% 0.116 124.9);
Tailwind
colors: {
  custom: {
    50: '#8c9c60',
    500: '#5b751e',
    950: '#000000',
  },
}
SCSS
$custom: #5b751e;
$custom-light: #8c9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#5b751e",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 77.931,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52401,
    "c": 0.11584,
    "h": 124.9
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#5B751E
secondary
#6446A9
accent
#45E274
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5B751E

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

Preview Lab → · Contrast checker → · Palette generator →

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