#5D7F23#5D7F23

#5D7F23 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.2% C 0.125 H 127.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5D7F23
RGBrgb(93, 127, 35)
HSLhsl(82, 57%, 32%)
HSVhsv(82, 72%, 50%)
CMYKcmyk(26.8%, 0%, 72.4%, 50.2%)
CIE-LABlab(49.04, -26.71, 43.83)
CIE-LCHlch(49.04, 51.33, 121.36°)
OKLaboklab(55.16% -0.0763 0.0987)
OKLCHoklch(55.16% 0.125 127.7)
XYZxyz(12.4070, 17.6270, 4.3385)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7F23 #45237F
analogous
#7F7323 #5D7F23 #2F7F23
triadic
#5D7F23 #235D7F #7F235D
tetradic
#5D7F23 #237F73 #45237F #7F232F
square
#5D7F23 #237F73 #45237F #7F232F
split-complementary
#5D7F23 #232F7F #73237F
monochromatic
#171F09 #3A4F16 #5D7F23 #80AF30 #9FCE4E

Accessibility & contrast

On white

4.64
#5D7F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5D7F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7F23
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7F23#FFFFFF#000000##FFFFFF
##5D7F231.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867614
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#60796D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d7f23;
/* rgb */ color: rgb(93, 127, 35);
/* oklch */ color: oklch(55.2% 0.125 127.7);
Tailwind
colors: {
  custom: {
    50: '#8ea464',
    500: '#5d7f23',
    950: '#000000',
  },
}
SCSS
$custom: #5d7f23;
$custom-light: #8ea464;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7f23",
  "rgb": {
    "r": 93,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 82.174,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55163,
    "c": 0.1248,
    "h": 127.7
  },
  "luminance": 0.17627
}

Semantic roles & 50–950 ramp

primary
#5D7F23
secondary
#724CB1
accent
#48E080
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5D7F23

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

Preview Lab → · Contrast checker → · Palette generator →

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