#5D7819#5D7819

#5D7819 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.3% C 0.122 H 124.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5D7819
RGBrgb(93, 120, 25)
HSLhsl(77, 66%, 28%)
HSVhsv(77, 79%, 47%)
CMYKcmyk(22.5%, 0%, 79.2%, 52.9%)
CIE-LABlab(46.75, -23.85, 45.37)
CIE-LCHlch(46.75, 51.26, 117.73°)
OKLaboklab(53.29% -0.0694 0.1003)
OKLCHoklch(53.29% 0.122 124.7)
XYZxyz(11.4062, 15.8302, 3.3741)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7819 #341978
analogous
#786319 #5D7819 #2D7819
triadic
#5D7819 #195D78 #78195D
tetradic
#5D7819 #197863 #341978 #78192D
square
#5D7819 #197863 #341978 #78192D
split-complementary
#5D7819 #192D78 #631978
monochromatic
#141905 #36450E #5D7819 #84AB24 #A8D536

Accessibility & contrast

On white

5.04
#5D7819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5D7819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7819
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7819#FFFFFF#000000##FFFFFF
##5D78191.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7003
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#627266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d7819;
/* rgb */ color: rgb(93, 120, 25);
/* oklch */ color: oklch(53.3% 0.122 124.7);
Tailwind
colors: {
  custom: {
    50: '#8e9f5e',
    500: '#5d7819',
    950: '#000000',
  },
}
SCSS
$custom: #5d7819;
$custom-light: #8e9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7819",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 77.053,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53286,
    "c": 0.12196,
    "h": 124.7
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#5D7819
secondary
#5F40AD
accent
#3FE86F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5D7819

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

Preview Lab → · Contrast checker → · Palette generator →

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