#5D731A#5D731A

#5D731A is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.0% C 0.115 H 122.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5D731A
RGBrgb(93, 115, 26)
HSLhsl(75, 63%, 28%)
HSVhsv(75, 77%, 45%)
CMYKcmyk(19.1%, 0%, 77.4%, 54.9%)
CIE-LABlab(45.17, -21.25, 43.51)
CIE-LCHlch(45.17, 48.42, 116.03°)
OKLaboklab(52.01% -0.0622 0.0965)
OKLCHoklch(52.01% 0.115 122.8)
XYZxyz(10.8315, 14.6632, 3.2367)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D731A #301A73
analogous
#735C1A #5D731A #31731A
triadic
#5D731A #1A5D73 #731A5D
tetradic
#5D731A #1A735C #301A73 #731A31
square
#5D731A #1A735C #301A73 #731A31
split-complementary
#5D731A #1A3173 #5C1A73
monochromatic
#141906 #35410F #5D731A #85A525 #ABD236

Accessibility & contrast

On white

5.34
#5D731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D731A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D731A#FFFFFF#000000##FFFFFF
##5D731A1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B07
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#626D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d731a;
/* rgb */ color: rgb(93, 115, 26);
/* oklch */ color: oklch(52.0% 0.115 122.8);
Tailwind
colors: {
  custom: {
    50: '#8e9b5e',
    500: '#5d731a',
    950: '#000000',
  },
}
SCSS
$custom: #5d731a;
$custom-light: #8e9b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d731a",
  "rgb": {
    "r": 93,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 74.831,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.11483,
    "h": 122.8
  },
  "luminance": 0.14663
}

Semantic roles & 50–950 ramp

primary
#5D731A
secondary
#5A41A8
accent
#42E66A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D731A

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

Preview Lab → · Contrast checker → · Palette generator →

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