#5E841C#5E841C

#5E841C is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.5% C 0.135 H 128.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5E841C
RGBrgb(94, 132, 28)
HSLhsl(82, 65%, 31%)
HSVhsv(82, 79%, 52%)
CMYKcmyk(28.8%, 0%, 78.8%, 48.2%)
CIE-LABlab(50.65, -29.15, 48.04)
CIE-LCHlch(50.65, 56.19, 121.25°)
OKLaboklab(56.47% -0.0836 0.1064)
OKLCHoklch(56.47% 0.135 128.2)
XYZxyz(13.0770, 18.9657, 4.0702)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E841C #421C84
analogous
#84761C #5E841C #2A841C
triadic
#5E841C #1C5E84 #841C5E
tetradic
#5E841C #1C8476 #421C84 #841C2A
square
#5E841C #1C8476 #421C84 #841C2A
split-complementary
#5E841C #1C2A84 #761C84
monochromatic
#161F07 #3A5211 #5E841C #82B627 #A1D743

Accessibility & contrast

On white

4.38
#5E841C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5E841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E841C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E841C#FFFFFF#000000##000000
##5E841C1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A02
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#617E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e841c;
/* rgb */ color: rgb(94, 132, 28);
/* oklch */ color: oklch(56.5% 0.135 128.2);
Tailwind
colors: {
  custom: {
    50: '#8fa861',
    500: '#5e841c',
    950: '#000000',
  },
}
SCSS
$custom: #5e841c;
$custom-light: #8fa861;
$custom-dark: #000000;
JSON
{
  "hex": "#5e841c",
  "rgb": {
    "r": 94,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 81.923,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5647,
    "c": 0.13532,
    "h": 128.2
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#5E841C
secondary
#6E45B7
accent
#40E87D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E841C

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

Preview Lab → · Contrast checker → · Palette generator →

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