#5D761F#5D761F

#5D761F is a mid, moderate yellow-green. Relative luminance 0.154; OKLCH L 52.8% C 0.115 H 124.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5D761F
RGBrgb(93, 118, 31)
HSLhsl(77, 58%, 29%)
HSVhsv(77, 74%, 46%)
CMYKcmyk(21.2%, 0%, 73.7%, 53.7%)
CIE-LABlab(46.15, -22.48, 42.54)
CIE-LCHlch(46.15, 48.12, 117.86°)
OKLaboklab(52.82% -0.0651 0.0954)
OKLCHoklch(52.82% 0.115 124.3)
XYZxyz(11.2401, 15.3828, 3.6731)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D761F #381F76
analogous
#76641F #5D761F #32761F
triadic
#5D761F #1F5D76 #761F5D
tetradic
#5D761F #1F7664 #381F76 #761F32
square
#5D761F #1F7664 #381F76 #761F32
split-complementary
#5D761F #1F3276 #641F76
monochromatic
#131806 #374612 #5D761F #83A62C #A5CD42

Accessibility & contrast

On white

5.15
#5D761F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5D761F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D761F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D761F#FFFFFF#000000##FFFFFF
##5D761F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#627065
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d761f;
/* rgb */ color: rgb(93, 118, 31);
/* oklch */ color: oklch(52.8% 0.115 124.3);
Tailwind
colors: {
  custom: {
    50: '#8e9d61',
    500: '#5d761f',
    950: '#000000',
  },
}
SCSS
$custom: #5d761f;
$custom-light: #8e9d61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d761f",
  "rgb": {
    "r": 93,
    "g": 118,
    "b": 31
  },
  "hsl": {
    "h": 77.241,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.11549,
    "h": 124.3
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

primary
#5D761F
secondary
#6347AA
accent
#46E273
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D761F

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

Preview Lab → · Contrast checker → · Palette generator →

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