#5D7B22#5D7B22

#5D7B22 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.1% C 0.120 H 126.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5D7B22
RGBrgb(93, 123, 34)
HSLhsl(80, 57%, 31%)
HSVhsv(80, 72%, 48%)
CMYKcmyk(24.4%, 0%, 72.4%, 51.8%)
CIE-LABlab(47.76, -24.80, 42.94)
CIE-LCHlch(47.76, 49.59, 120.01°)
OKLaboklab(54.12% -0.0712 0.0967)
OKLCHoklch(54.12% 0.12 126.4)
XYZxyz(11.8859, 16.6084, 4.0926)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7B22 #40227B
analogous
#7B6C22 #5D7B22 #307B22
triadic
#5D7B22 #225D7B #7B225D
tetradic
#5D7B22 #227B6C #40227B #7B2230
square
#5D7B22 #227B6C #40227B #7B2230
split-complementary
#5D7B22 #22307B #6C227B
monochromatic
#141B07 #394B15 #5D7B22 #81AB2F #A1CD4A

Accessibility & contrast

On white

4.86
#5D7B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5D7B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7B22
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7B22#FFFFFF#000000##FFFFFF
##5D7B221.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827314
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#617569
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d7b22;
/* rgb */ color: rgb(93, 123, 34);
/* oklch */ color: oklch(54.1% 0.120 126.4);
Tailwind
colors: {
  custom: {
    50: '#8ea163',
    500: '#5d7b22',
    950: '#000000',
  },
}
SCSS
$custom: #5d7b22;
$custom-light: #8ea163;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7b22",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 80.225,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.1201,
    "h": 126.4
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#5D7B22
secondary
#6C4BAE
accent
#48E07B
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0F05
muted
#7D7E7A

Preview Lab

Preview with #5D7B22

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

Preview Lab → · Contrast checker → · Palette generator →

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