#5D751D#5D751D

#5D751D is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.5% C 0.116 H 123.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5D751D
RGBrgb(93, 117, 29)
HSLhsl(76, 60%, 29%)
HSVhsv(76, 75%, 46%)
CMYKcmyk(20.5%, 0%, 75.2%, 54.1%)
CIE-LABlab(45.82, -22.10, 43.00)
CIE-LCHlch(45.82, 48.35, 117.20°)
OKLaboklab(52.54% -0.0643 0.096)
OKLCHoklch(52.54% 0.116 123.8)
XYZxyz(11.0974, 15.1384, 3.4995)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D751D #351D75
analogous
#75611D #5D751D #31751D
triadic
#5D751D #1D5D75 #751D5D
tetradic
#5D751D #1D7561 #351D75 #751D31
square
#5D751D #1D7561 #351D75 #751D31
split-complementary
#5D751D #1D3175 #611D75
monochromatic
#131906 #364411 #5D751D #84A629 #A7CF3D

Accessibility & contrast

On white

5.21
#5D751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5D751D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D751D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D751D#FFFFFF#000000##FFFFFF
##5D751D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0D
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#626F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d751d;
/* rgb */ color: rgb(93, 117, 29);
/* oklch */ color: oklch(52.5% 0.116 123.8);
Tailwind
colors: {
  custom: {
    50: '#8e9c60',
    500: '#5d751d',
    950: '#000000',
  },
}
SCSS
$custom: #5d751d;
$custom-light: #8e9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#5d751d",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 76.364,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52543,
    "c": 0.11552,
    "h": 123.8
  },
  "luminance": 0.15138
}

Semantic roles & 50–950 ramp

primary
#5D751D
secondary
#6045A9
accent
#44E370
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D751D

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

Preview Lab → · Contrast checker → · Palette generator →

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