#5E821A#5E821A

#5E821A is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.9% C 0.134 H 127.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5E821A
RGBrgb(94, 130, 26)
HSLhsl(81, 67%, 31%)
HSVhsv(81, 80%, 51%)
CMYKcmyk(27.7%, 0%, 80%, 49%)
CIE-LABlab(50.00, -28.30, 48.10)
CIE-LCHlch(50.00, 55.81, 120.47°)
OKLaboklab(55.94% -0.0815 0.1062)
OKLCHoklch(55.94% 0.134 127.5)
XYZxyz(12.7852, 18.4193, 3.8588)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E821A #3E1A82
analogous
#82721A #5E821A #2A821A
triadic
#5E821A #1A5E82 #821A5E
tetradic
#5E821A #1A8272 #3E1A82 #821A2A
square
#5E821A #1A8272 #3E1A82 #821A2A
split-complementary
#5E821A #1A2A82 #721A82
monochromatic
#141C06 #394F10 #5E821A #83B524 #A3D83E

Accessibility & contrast

On white

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

On black

4.68
#5E821A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E821A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E821A#FFFFFF#000000##000000
##5E821A1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e821a;
/* rgb */ color: rgb(94, 130, 26);
/* oklch */ color: oklch(55.9% 0.134 127.5);
Tailwind
colors: {
  custom: {
    50: '#8fa660',
    500: '#5e821a',
    950: '#000000',
  },
}
SCSS
$custom: #5e821a;
$custom-light: #8fa660;
$custom-dark: #000000;
JSON
{
  "hex": "#5e821a",
  "rgb": {
    "r": 94,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 80.769,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.13384,
    "h": 127.5
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#5E821A
secondary
#6A42B6
accent
#3EEA7A
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E821A

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

Preview Lab → · Contrast checker → · Palette generator →

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