#5E851A#5E851A

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

Color values

HEX#5E851A
RGBrgb(94, 133, 26)
HSLhsl(82, 67%, 31%)
HSVhsv(82, 80%, 52%)
CMYKcmyk(29.3%, 0%, 80.5%, 47.8%)
CIE-LABlab(50.95, -29.73, 48.99)
CIE-LCHlch(50.95, 57.30, 121.25°)
OKLaboklab(56.72% -0.0854 0.108)
OKLCHoklch(56.72% 0.138 128.3)
XYZxyz(13.1901, 19.2290, 3.9937)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E851A #411A85
analogous
#85761A #5E851A #28851A
triadic
#5E851A #1A5E85 #851A5E
tetradic
#5E851A #1A8576 #411A85 #851A28
square
#5E851A #1A8576 #411A85 #851A28
split-complementary
#5E851A #1A2885 #761A85
monochromatic
#161F06 #3A5210 #5E851A #82B824 #A2DA40

Accessibility & contrast

On white

4.33
#5E851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5E851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E851A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E851A#FFFFFF#000000##000000
##5E851A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e851a;
/* rgb */ color: rgb(94, 133, 26);
/* oklch */ color: oklch(56.7% 0.138 128.3);
Tailwind
colors: {
  custom: {
    50: '#90a860',
    500: '#5e851a',
    950: '#000000',
  },
}
SCSS
$custom: #5e851a;
$custom-light: #90a860;
$custom-dark: #000000;
JSON
{
  "hex": "#5e851a",
  "rgb": {
    "r": 94,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 81.869,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56716,
    "c": 0.1377,
    "h": 128.3
  },
  "luminance": 0.19229
}

Semantic roles & 50–950 ramp

primary
#5E851A
secondary
#6D42B8
accent
#3EEA7D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E851A

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

Preview Lab → · Contrast checker → · Palette generator →

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