#5D7018#5D7018

#5D7018 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.2% C 0.112 H 121.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5D7018
RGBrgb(93, 112, 24)
HSLhsl(73, 65%, 27%)
HSVhsv(73, 79%, 44%)
CMYKcmyk(17%, 0%, 78.6%, 56.1%)
CIE-LABlab(44.21, -19.80, 43.32)
CIE-LCHlch(44.21, 47.63, 114.56°)
OKLaboklab(51.23% -0.0584 0.0958)
OKLCHoklch(51.23% 0.112 121.4)
XYZxyz(10.4734, 13.9814, 3.0109)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7018 #2B1870
analogous
#705718 #5D7018 #317018
triadic
#5D7018 #185D70 #70185D
tetradic
#5D7018 #187057 #2B1870 #701831
square
#5D7018 #187057 #2B1870 #701831
split-complementary
#5D7018 #183170 #571870
monochromatic
#151905 #333E0D #5D7018 #87A223 #AFD330

Accessibility & contrast

On white

5.53
#5D7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5D7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7018
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7018#FFFFFF#000000##FFFFFF
##5D70181.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776905
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#626A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d7018;
/* rgb */ color: rgb(93, 112, 24);
/* oklch */ color: oklch(51.2% 0.112 121.4);
Tailwind
colors: {
  custom: {
    50: '#8e995d',
    500: '#5d7018',
    950: '#000000',
  },
}
SCSS
$custom: #5d7018;
$custom-light: #8e995d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7018",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 72.955,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51227,
    "c": 0.11217,
    "h": 121.4
  },
  "luminance": 0.13981
}

Semantic roles & 50–950 ramp

primary
#5D7018
secondary
#553EA5
accent
#40E864
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D7018

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

Preview Lab → · Contrast checker → · Palette generator →

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