#5D7B18#5D7B18

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

Color values

HEX#5D7B18
RGBrgb(93, 123, 24)
HSLhsl(78, 67%, 29%)
HSVhsv(78, 80%, 48%)
CMYKcmyk(24.4%, 0%, 80.5%, 51.8%)
CIE-LABlab(47.70, -25.40, 46.60)
CIE-LCHlch(47.70, 53.07, 118.60°)
OKLaboklab(54.05% -0.0737 0.1027)
OKLCHoklch(54.05% 0.126 125.7)
XYZxyz(11.7621, 16.5588, 3.4405)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7B18 #36187B
analogous
#7B6818 #5D7B18 #2C7B18
triadic
#5D7B18 #185D7B #7B185D
tetradic
#5D7B18 #187B68 #36187B #7B182C
square
#5D7B18 #187B68 #36187B #7B182C
split-complementary
#5D7B18 #182C7B #68187B
monochromatic
#131A05 #36480E #5D7B18 #84AE22 #A7D836

Accessibility & contrast

On white

4.87
#5D7B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5D7B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7B18
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7B18#FFFFFF#000000##FFFFFF
##5D7B181.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d7b18;
/* rgb */ color: rgb(93, 123, 24);
/* oklch */ color: oklch(54.1% 0.126 125.7);
Tailwind
colors: {
  custom: {
    50: '#8ea15e',
    500: '#5d7b18',
    950: '#000000',
  },
}
SCSS
$custom: #5d7b18;
$custom-light: #8ea15e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7b18",
  "rgb": {
    "r": 93,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 78.182,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54053,
    "c": 0.1264,
    "h": 125.7
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#5D7B18
secondary
#613FB0
accent
#3EEA72
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5D7B18

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

Preview Lab → · Contrast checker → · Palette generator →

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