#5E8829#5E8829

#5E8829 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.6% C 0.132 H 130.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5E8829
RGBrgb(94, 136, 41)
HSLhsl(87, 54%, 35%)
HSVhsv(87, 70%, 53%)
CMYKcmyk(30.9%, 0%, 69.9%, 46.7%)
CIE-LABlab(52.00, -30.20, 44.42)
CIE-LCHlch(52.00, 53.71, 124.21°)
OKLaboklab(57.6% -0.0854 0.1009)
OKLCHoklch(57.6% 0.132 130.3)
XYZxyz(13.8204, 20.1477, 5.2581)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8829 #532988
analogous
#888229 #5E8829 #2F8829
triadic
#5E8829 #295E88 #88295E
tetradic
#5E8829 #298882 #532988 #88292F
square
#5E8829 #298882 #532988 #88292F
split-complementary
#5E8829 #292F88 #822988
monochromatic
#1D2A0D #3D591B #5E8829 #7FB737 #9CCE5D

Accessibility & contrast

On white

4.18
#5E8829 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5E8829 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8829
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8829#FFFFFF#000000##000000
##5E88291.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1B
Deuteranopia (green-blind)
#887B31
Tritanopia (blue-blind)
#608275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e8829;
/* rgb */ color: rgb(94, 136, 41);
/* oklch */ color: oklch(57.6% 0.132 130.3);
Tailwind
colors: {
  custom: {
    50: '#8fab68',
    500: '#5e8829',
    950: '#000000',
  },
}
SCSS
$custom: #5e8829;
$custom-light: #8fab68;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8829",
  "rgb": {
    "r": 94,
    "g": 136,
    "b": 41
  },
  "hsl": {
    "h": 86.526,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57601,
    "c": 0.13216,
    "h": 130.3
  },
  "luminance": 0.20148
}

Semantic roles & 50–950 ramp

primary
#5E8829
secondary
#8159B4
accent
#4BDD8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8829

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

Preview Lab → · Contrast checker → · Palette generator →

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