#5E821E#5E821E

#5E821E is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.132 H 127.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5E821E
RGBrgb(94, 130, 30)
HSLhsl(82, 63%, 31%)
HSVhsv(82, 77%, 51%)
CMYKcmyk(27.7%, 0%, 76.9%, 49%)
CIE-LABlab(50.02, -28.08, 46.74)
CIE-LCHlch(50.02, 54.52, 120.99°)
OKLaboklab(55.97% -0.0806 0.104)
OKLCHoklch(55.97% 0.132 127.8)
XYZxyz(12.8331, 18.4384, 4.1109)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E821E #421E82
analogous
#82741E #5E821E #2C821E
triadic
#5E821E #1E5E82 #821E5E
tetradic
#5E821E #1E8274 #421E82 #821E2C
square
#5E821E #1E8274 #421E82 #821E2C
split-complementary
#5E821E #1E2C82 #741E82
monochromatic
#161F07 #3A5013 #5E821E #82B429 #A1D446

Accessibility & contrast

On white

4.48
#5E821E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5E821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E821E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E821E#FFFFFF#000000##000000
##5E821E1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897908
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#627C6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5e821e;
/* rgb */ color: rgb(94, 130, 30);
/* oklch */ color: oklch(56.0% 0.132 127.8);
Tailwind
colors: {
  custom: {
    50: '#8fa662',
    500: '#5e821e',
    950: '#000000',
  },
}
SCSS
$custom: #5e821e;
$custom-light: #8fa662;
$custom-dark: #000000;
JSON
{
  "hex": "#5e821e",
  "rgb": {
    "r": 94,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 81.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.13155,
    "h": 127.8
  },
  "luminance": 0.18439
}

Semantic roles & 50–950 ramp

primary
#5E821E
secondary
#6E47B5
accent
#42E67D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E821E

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

Preview Lab → · Contrast checker → · Palette generator →

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