#5D7526#5D7526

#5D7526 is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.109 H 124.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5D7526
RGBrgb(93, 117, 38)
HSLhsl(78, 51%, 30%)
HSVhsv(78, 68%, 46%)
CMYKcmyk(20.5%, 0%, 67.5%, 54.1%)
CIE-LABlab(45.89, -21.46, 39.28)
CIE-LCHlch(45.89, 44.76, 118.66°)
OKLaboklab(52.62% -0.0616 0.0896)
OKLCHoklch(52.62% 0.109 124.5)
XYZxyz(11.2254, 15.1896, 4.1738)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7526 #3E2675
analogous
#756526 #5D7526 #357526
triadic
#5D7526 #265D75 #75265D
tetradic
#5D7526 #267565 #3E2675 #752635
square
#5D7526 #267565 #3E2675 #752635
split-complementary
#5D7526 #263575 #652675
monochromatic
#141908 #384717 #5D7526 #82A335 #A2C64F

Accessibility & contrast

On white

5.20
#5D7526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5D7526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7526
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7526#FFFFFF#000000##FFFFFF
##5D75261.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D1C
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#616F65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d7526;
/* rgb */ color: rgb(93, 117, 38);
/* oklch */ color: oklch(52.6% 0.109 124.5);
Tailwind
colors: {
  custom: {
    50: '#8d9c65',
    500: '#5d7526',
    950: '#000000',
  },
}
SCSS
$custom: #5d7526;
$custom-light: #8d9c65;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7526",
  "rgb": {
    "r": 93,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 78.228,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.10876,
    "h": 124.5
  },
  "luminance": 0.1519
}

Semantic roles & 50–950 ramp

primary
#5D7526
secondary
#6A4FA7
accent
#4DDA78
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D7526

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

Preview Lab → · Contrast checker → · Palette generator →

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