#5D7922#5D7922

#5D7922 is a mid, moderate yellow-green. Relative luminance 0.161; OKLCH L 53.6% C 0.117 H 125.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5D7922
RGBrgb(93, 121, 34)
HSLhsl(79, 56%, 30%)
HSVhsv(79, 72%, 47%)
CMYKcmyk(23.1%, 0%, 71.9%, 52.5%)
CIE-LABlab(47.13, -23.80, 42.30)
CIE-LCHlch(47.13, 48.53, 119.37°)
OKLaboklab(53.61% -0.0685 0.0954)
OKLCHoklch(53.61% 0.117 125.7)
XYZxyz(11.6404, 16.1172, 4.0107)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7922 #3E2279
analogous
#796922 #5D7922 #327922
triadic
#5D7922 #225D79 #79225D
tetradic
#5D7922 #227969 #3E2279 #792232
square
#5D7922 #227969 #3E2279 #792232
split-complementary
#5D7922 #223279 #692279
monochromatic
#141907 #384915 #5D7922 #82A92F #A2CC49

Accessibility & contrast

On white

4.97
#5D7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5D7922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7922
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7922#FFFFFF#000000##FFFFFF
##5D79221.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#617368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d7922;
/* rgb */ color: rgb(93, 121, 34);
/* oklch */ color: oklch(53.6% 0.117 125.7);
Tailwind
colors: {
  custom: {
    50: '#8e9f63',
    500: '#5d7922',
    950: '#000000',
  },
}
SCSS
$custom: #5d7922;
$custom-light: #8e9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7922",
  "rgb": {
    "r": 93,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 79.31,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5361,
    "c": 0.11739,
    "h": 125.7
  },
  "luminance": 0.16117
}

Semantic roles & 50–950 ramp

primary
#5D7922
secondary
#6A4BAC
accent
#48DF79
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E05
muted
#7D7E7A

Preview Lab

Preview with #5D7922

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

Preview Lab → · Contrast checker → · Palette generator →

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