#5B751D#5B751D

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

Color values

HEX#5B751D
RGBrgb(91, 117, 29)
HSLhsl(78, 60%, 29%)
HSVhsv(78, 75%, 46%)
CMYKcmyk(22.2%, 0%, 75.2%, 54.1%)
CIE-LABlab(45.68, -22.97, 42.82)
CIE-LCHlch(45.68, 48.59, 118.21°)
OKLaboklab(52.39% -0.0665 0.0957)
OKLCHoklch(52.39% 0.117 124.8)
XYZxyz(10.8975, 15.0353, 3.4901)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B751D #371D75
analogous
#75631D #5B751D #2F751D
triadic
#5B751D #1D5B75 #751D5B
tetradic
#5B751D #1D7563 #371D75 #751D2F
square
#5B751D #1D7563 #371D75 #751D2F
split-complementary
#5B751D #1D2F75 #631D75
monochromatic
#131906 #354411 #5B751D #81A629 #A4CF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B751D#FFFFFF#000000##FFFFFF
##5B751D1.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)
#7C6D0D
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#5F6F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b751d;
/* rgb */ color: rgb(91, 117, 29);
/* oklch */ color: oklch(52.4% 0.117 124.8);
Tailwind
colors: {
  custom: {
    50: '#8c9c60',
    500: '#5b751d',
    950: '#000000',
  },
}
SCSS
$custom: #5b751d;
$custom-light: #8c9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#5b751d",
  "rgb": {
    "r": 91,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 77.727,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52393,
    "c": 0.11652,
    "h": 124.8
  },
  "luminance": 0.15035
}

Semantic roles & 50–950 ramp

primary
#5B751D
secondary
#6245A9
accent
#44E373
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5B751D

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

Preview Lab → · Contrast checker → · Palette generator →

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