#5C821E#5C821E

#5C821E is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.8% C 0.133 H 128.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5C821E
RGBrgb(92, 130, 30)
HSLhsl(83, 63%, 31%)
HSVhsv(83, 77%, 51%)
CMYKcmyk(29.2%, 0%, 76.9%, 49%)
CIE-LABlab(49.90, -28.89, 46.58)
CIE-LCHlch(49.90, 54.81, 121.81°)
OKLaboklab(55.83% -0.0827 0.1037)
OKLCHoklch(55.83% 0.133 128.6)
XYZxyz(12.6306, 18.3340, 4.1014)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C821E #441E82
analogous
#82761E #5C821E #2A821E
triadic
#5C821E #1E5C82 #821E5C
tetradic
#5C821E #1E8276 #441E82 #821E2A
square
#5C821E #1E8276 #441E82 #821E2A
split-complementary
#5C821E #1E2A82 #761E82
monochromatic
#161F07 #395013 #5C821E #7FB429 #9ED446

Accessibility & contrast

On white

4.50
#5C821E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5C821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C821E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C821E#FFFFFF#000000##000000
##5C821E1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897808
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#5F7C6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c821e;
/* rgb */ color: rgb(92, 130, 30);
/* oklch */ color: oklch(55.8% 0.133 128.6);
Tailwind
colors: {
  custom: {
    50: '#8ea662',
    500: '#5c821e',
    950: '#000000',
  },
}
SCSS
$custom: #5c821e;
$custom-light: #8ea662;
$custom-dark: #000000;
JSON
{
  "hex": "#5c821e",
  "rgb": {
    "r": 92,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 82.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55833,
    "c": 0.13261,
    "h": 128.6
  },
  "luminance": 0.18334
}

Semantic roles & 50–950 ramp

primary
#5C821E
secondary
#7147B5
accent
#42E680
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5C821E

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

Preview Lab → · Contrast checker → · Palette generator →

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