#5D751A#5D751A

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

Color values

HEX#5D751A
RGBrgb(93, 117, 26)
HSLhsl(76, 64%, 28%)
HSVhsv(76, 78%, 46%)
CMYKcmyk(20.5%, 0%, 77.8%, 54.1%)
CIE-LABlab(45.80, -22.28, 44.12)
CIE-LCHlch(45.80, 49.42, 116.79°)
OKLaboklab(52.52% -0.065 0.0978)
OKLCHoklch(52.52% 0.117 123.6)
XYZxyz(11.0621, 15.1242, 3.3136)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D751A #321A75
analogous
#755F1A #5D751A #30751A
triadic
#5D751A #1A5D75 #751A5D
tetradic
#5D751A #1A755F #321A75 #751A30
square
#5D751A #1A755F #321A75 #751A30
split-complementary
#5D751A #1A3075 #5F1A75
monochromatic
#141906 #35430F #5D751A #85A725 #A9D337

Accessibility & contrast

On white

5.22
#5D751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5D751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D751A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D751A#FFFFFF#000000##FFFFFF
##5D751A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d751a;
/* rgb */ color: rgb(93, 117, 26);
/* oklch */ color: oklch(52.5% 0.117 123.6);
Tailwind
colors: {
  custom: {
    50: '#8e9c5e',
    500: '#5d751a',
    950: '#000000',
  },
}
SCSS
$custom: #5d751a;
$custom-light: #8e9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d751a",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 75.824,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52522,
    "c": 0.11744,
    "h": 123.6
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#5D751A
secondary
#5D41AA
accent
#41E76D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D751A

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

Preview Lab → · Contrast checker → · Palette generator →

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