#5D7618#5D7618

#5D7618 is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.8% C 0.120 H 123.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5D7618
RGBrgb(93, 118, 24)
HSLhsl(76, 66%, 28%)
HSVhsv(76, 80%, 46%)
CMYKcmyk(21.2%, 0%, 79.7%, 53.7%)
CIE-LABlab(46.11, -22.89, 45.12)
CIE-LCHlch(46.11, 50.59, 116.91°)
OKLaboklab(52.76% -0.0669 0.0996)
OKLCHoklch(52.76% 0.12 123.9)
XYZxyz(11.1576, 15.3499, 3.2390)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7618 #311876
analogous
#766018 #5D7618 #2E7618
triadic
#5D7618 #185D76 #76185D
tetradic
#5D7618 #187660 #311876 #76182E
square
#5D7618 #187660 #311876 #76182E
split-complementary
#5D7618 #182E76 #601876
monochromatic
#141905 #35430E #5D7618 #85A922 #AAD533

Accessibility & contrast

On white

5.16
#5D7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5D7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7618
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7618#FFFFFF#000000##FFFFFF
##5D76181.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E02
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#627064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d7618;
/* rgb */ color: rgb(93, 118, 24);
/* oklch */ color: oklch(52.8% 0.120 123.9);
Tailwind
colors: {
  custom: {
    50: '#8e9d5d',
    500: '#5d7618',
    950: '#000000',
  },
}
SCSS
$custom: #5d7618;
$custom-light: #8e9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7618",
  "rgb": {
    "r": 93,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 75.957,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.11993,
    "h": 123.9
  },
  "luminance": 0.1535
}

Semantic roles & 50–950 ramp

primary
#5D7618
secondary
#5C3FAB
accent
#3FE96C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5D7618

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

Preview Lab → · Contrast checker → · Palette generator →

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