#5D851A#5D851A

#5D851A is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.6% C 0.138 H 128.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5D851A
RGBrgb(93, 133, 26)
HSLhsl(82, 67%, 31%)
HSVhsv(82, 80%, 52%)
CMYKcmyk(30.1%, 0%, 80.5%, 47.8%)
CIE-LABlab(50.89, -30.14, 48.91)
CIE-LCHlch(50.89, 57.45, 121.64°)
OKLaboklab(56.65% -0.0864 0.1079)
OKLCHoklch(56.65% 0.138 128.7)
XYZxyz(13.0882, 19.1764, 3.9889)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D851A #421A85
analogous
#85771A #5D851A #27851A
triadic
#5D851A #1A5D85 #851A5D
tetradic
#5D851A #1A8577 #421A85 #851A27
square
#5D851A #1A8577 #421A85 #851A27
split-complementary
#5D851A #1A2785 #771A85
monochromatic
#151F06 #395210 #5D851A #81B824 #A0DA40

Accessibility & contrast

On white

4.34
#5D851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5D851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D851A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D851A#FFFFFF#000000##000000
##5D851A1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#607F71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d851a;
/* rgb */ color: rgb(93, 133, 26);
/* oklch */ color: oklch(56.6% 0.138 128.7);
Tailwind
colors: {
  custom: {
    50: '#8fa860',
    500: '#5d851a',
    950: '#000000',
  },
}
SCSS
$custom: #5d851a;
$custom-light: #8fa860;
$custom-dark: #000000;
JSON
{
  "hex": "#5d851a",
  "rgb": {
    "r": 93,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 82.43,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5665,
    "c": 0.13824,
    "h": 128.7
  },
  "luminance": 0.19177
}

Semantic roles & 50–950 ramp

primary
#5D851A
secondary
#6E42B8
accent
#3EEA7E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D851A

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

Preview Lab → · Contrast checker → · Palette generator →

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