#5D7121#5D7121

#5D7121 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.6% C 0.107 H 122.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5D7121
RGBrgb(93, 113, 33)
HSLhsl(75, 55%, 29%)
HSVhsv(75, 71%, 44%)
CMYKcmyk(17.7%, 0%, 70.8%, 55.7%)
CIE-LABlab(44.59, -19.76, 40.12)
CIE-LCHlch(44.59, 44.72, 116.23°)
OKLaboklab(51.55% -0.0574 0.0906)
OKLCHoklch(51.55% 0.107 122.4)
XYZxyz(10.6940, 14.2472, 3.6251)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7121 #352171
analogous
#715D21 #5D7121 #357121
triadic
#5D7121 #215D71 #71215D
tetradic
#5D7121 #21715D #352171 #712135
square
#5D7121 #21715D #352171 #712135
split-complementary
#5D7121 #213571 #5D2171
monochromatic
#131807 #364213 #5D7121 #84A02F #A7C844

Accessibility & contrast

On white

5.46
#5D7121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5D7121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7121
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7121#FFFFFF#000000##FFFFFF
##5D71211.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A15
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#626B61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d7121;
/* rgb */ color: rgb(93, 113, 33);
/* oklch */ color: oklch(51.6% 0.107 122.4);
Tailwind
colors: {
  custom: {
    50: '#8d9961',
    500: '#5d7121',
    950: '#000000',
  },
}
SCSS
$custom: #5d7121;
$custom-light: #8d9961;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7121",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.10728,
    "h": 122.4
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#5D7121
secondary
#6049A5
accent
#4ADE6F
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5D7121

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

Preview Lab → · Contrast checker → · Palette generator →

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