#5D751F#5D751F

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

Color values

HEX#5D751F
RGBrgb(93, 117, 31)
HSLhsl(77, 58%, 29%)
HSVhsv(77, 74%, 46%)
CMYKcmyk(20.5%, 0%, 73.5%, 54.1%)
CIE-LABlab(45.84, -21.97, 42.22)
CIE-LCHlch(45.84, 47.60, 117.49°)
OKLaboklab(52.56% -0.0637 0.0947)
OKLCHoklch(52.56% 0.114 123.9)
XYZxyz(11.1229, 15.1486, 3.6340)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D751F #371F75
analogous
#75621F #5D751F #32751F
triadic
#5D751F #1F5D75 #751F5D
tetradic
#5D751F #1F7562 #371F75 #751F32
square
#5D751F #1F7562 #371F75 #751F32
split-complementary
#5D751F #1F3275 #621F75
monochromatic
#131806 #374512 #5D751F #83A52C #A6CD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D751F#FFFFFF#000000##FFFFFF
##5D751F1.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)
#7C6D11
Deuteranopia (green-blind)
#796C26
Tritanopia (blue-blind)
#626F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d751f;
/* rgb */ color: rgb(93, 117, 31);
/* oklch */ color: oklch(52.6% 0.114 123.9);
Tailwind
colors: {
  custom: {
    50: '#8e9c61',
    500: '#5d751f',
    950: '#000000',
  },
}
SCSS
$custom: #5d751f;
$custom-light: #8e9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d751f",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 76.744,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52559,
    "c": 0.11414,
    "h": 123.9
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#5D751F
secondary
#6247A9
accent
#46E172
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5D751F

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

Preview Lab → · Contrast checker → · Palette generator →

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