#5D841C#5D841C

#5D841C is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.4% C 0.136 H 128.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5D841C
RGBrgb(93, 132, 28)
HSLhsl(83, 65%, 31%)
HSVhsv(83, 79%, 52%)
CMYKcmyk(29.5%, 0%, 78.8%, 48.2%)
CIE-LABlab(50.59, -29.56, 47.96)
CIE-LCHlch(50.59, 56.33, 121.65°)
OKLaboklab(56.4% -0.0847 0.1062)
OKLCHoklch(56.4% 0.136 128.6)
XYZxyz(12.9751, 18.9132, 4.0654)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D841C #431C84
analogous
#84771C #5D841C #29841C
triadic
#5D841C #1C5D84 #841C5D
tetradic
#5D841C #1C8477 #431C84 #841C29
square
#5D841C #1C8477 #431C84 #841C29
split-complementary
#5D841C #1C2984 #771C84
monochromatic
#161F07 #395211 #5D841C #81B627 #A0D743

Accessibility & contrast

On white

4.39
#5D841C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5D841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D841C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D841C#FFFFFF#000000##000000
##5D841C1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A02
Deuteranopia (green-blind)
#857827
Tritanopia (blue-blind)
#607E70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5d841c;
/* rgb */ color: rgb(93, 132, 28);
/* oklch */ color: oklch(56.4% 0.136 128.6);
Tailwind
colors: {
  custom: {
    50: '#8fa861',
    500: '#5d841c',
    950: '#000000',
  },
}
SCSS
$custom: #5d841c;
$custom-light: #8fa861;
$custom-dark: #000000;
JSON
{
  "hex": "#5d841c",
  "rgb": {
    "r": 93,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 82.5,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56404,
    "c": 0.13586,
    "h": 128.6
  },
  "luminance": 0.18914
}

Semantic roles & 50–950 ramp

primary
#5D841C
secondary
#7045B7
accent
#40E87F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5D841C

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

Preview Lab → · Contrast checker → · Palette generator →

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