#5D7726#5D7726

#5D7726 is a mid, moderate yellow-green. Relative luminance 0.157; OKLCH L 53.1% C 0.112 H 125.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5D7726
RGBrgb(93, 119, 38)
HSLhsl(79, 52%, 31%)
HSVhsv(79, 68%, 47%)
CMYKcmyk(21.8%, 0%, 68.1%, 53.3%)
CIE-LABlab(46.53, -22.49, 39.95)
CIE-LCHlch(46.53, 45.84, 119.38°)
OKLaboklab(53.13% -0.0645 0.091)
OKLCHoklch(53.13% 0.112 125.3)
XYZxyz(11.4609, 15.6606, 4.2523)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7726 #402677
analogous
#776826 #5D7726 #347726
triadic
#5D7726 #265D77 #77265D
tetradic
#5D7726 #267768 #402677 #772634
square
#5D7726 #267768 #402677 #772634
split-complementary
#5D7726 #263477 #682677
monochromatic
#141A08 #394917 #5D7726 #81A535 #A1C750

Accessibility & contrast

On white

5.08
#5D7726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5D7726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7726
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7726#FFFFFF#000000##FFFFFF
##5D77261.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F1B
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#617166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d7726;
/* rgb */ color: rgb(93, 119, 38);
/* oklch */ color: oklch(53.1% 0.112 125.3);
Tailwind
colors: {
  custom: {
    50: '#8d9e65',
    500: '#5d7726',
    950: '#000000',
  },
}
SCSS
$custom: #5d7726;
$custom-light: #8d9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7726",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 38
  },
  "hsl": {
    "h": 79.259,
    "s": 51.592,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53134,
    "c": 0.11155,
    "h": 125.3
  },
  "luminance": 0.15661
}

Semantic roles & 50–950 ramp

primary
#5D7726
secondary
#6C4FA9
accent
#4DDB7A
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D7726

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

Preview Lab → · Contrast checker → · Palette generator →

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