#5D7A18#5D7A18

#5D7A18 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.8% C 0.125 H 125.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5D7A18
RGBrgb(93, 122, 24)
HSLhsl(78, 67%, 29%)
HSVhsv(78, 80%, 48%)
CMYKcmyk(23.8%, 0%, 80.3%, 52.2%)
CIE-LABlab(47.38, -24.91, 46.30)
CIE-LCHlch(47.38, 52.58, 118.28°)
OKLaboklab(53.8% -0.0724 0.1021)
OKLCHoklch(53.8% 0.125 125.3)
XYZxyz(11.6387, 16.3120, 3.3993)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7A18 #35187A
analogous
#7A6618 #5D7A18 #2C7A18
triadic
#5D7A18 #185D7A #7A185D
tetradic
#5D7A18 #187A66 #35187A #7A182C
square
#5D7A18 #187A66 #35187A #7A182C
split-complementary
#5D7A18 #182C7A #66187A
monochromatic
#131A05 #36470E #5D7A18 #84AD22 #A7D735

Accessibility & contrast

On white

4.93
#5D7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5D7A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7A18
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7A18#FFFFFF#000000##FFFFFF
##5D7A181.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#627468
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d7a18;
/* rgb */ color: rgb(93, 122, 24);
/* oklch */ color: oklch(53.8% 0.125 125.3);
Tailwind
colors: {
  custom: {
    50: '#8ea05e',
    500: '#5d7a18',
    950: '#000000',
  },
}
SCSS
$custom: #5d7a18;
$custom-light: #8ea05e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7a18",
  "rgb": {
    "r": 93,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 77.755,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53795,
    "c": 0.12511,
    "h": 125.3
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#5D7A18
secondary
#603FAF
accent
#3EEA71
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5D7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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