#5D7019#5D7019

#5D7019 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#5D7019
RGBrgb(93, 112, 25)
HSLhsl(73, 64%, 27%)
HSVhsv(73, 78%, 44%)
CMYKcmyk(17%, 0%, 77.7%, 56.1%)
CIE-LABlab(44.21, -19.75, 42.96)
CIE-LCHlch(44.21, 47.28, 114.68°)
OKLaboklab(51.23% -0.0582 0.0952)
OKLCHoklch(51.23% 0.112 121.4)
XYZxyz(10.4840, 13.9857, 3.0667)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7019 #2C1970
analogous
#705819 #5D7019 #327019
triadic
#5D7019 #195D70 #70195D
tetradic
#5D7019 #197058 #2C1970 #701932
square
#5D7019 #197058 #2C1970 #701932
split-complementary
#5D7019 #193270 #581970
monochromatic
#151906 #333E0E #5D7019 #87A224 #AFD132

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7019#FFFFFF#000000##FFFFFF
##5D70191.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)
#776907
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#626A5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d7019;
/* rgb */ color: rgb(93, 112, 25);
/* oklch */ color: oklch(51.2% 0.112 121.4);
Tailwind
colors: {
  custom: {
    50: '#8e995d',
    500: '#5d7019',
    950: '#000000',
  },
}
SCSS
$custom: #5d7019;
$custom-light: #8e995d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7019",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 73.103,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.11157,
    "h": 121.4
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#5D7019
secondary
#5640A5
accent
#41E765
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D7019

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

Preview Lab → · Contrast checker → · Palette generator →

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