#5E8529#5E8529

#5E8529 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.8% C 0.128 H 129.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5E8529
RGBrgb(94, 133, 41)
HSLhsl(85, 53%, 34%)
HSVhsv(85, 69%, 52%)
CMYKcmyk(29.3%, 0%, 69.2%, 47.8%)
CIE-LABlab(51.05, -28.77, 43.42)
CIE-LCHlch(51.05, 52.09, 123.52°)
OKLaboklab(56.83% -0.0815 0.0988)
OKLCHoklch(56.83% 0.128 129.5)
XYZxyz(13.4038, 19.3145, 5.1193)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8529 #502985
analogous
#857E29 #5E8529 #308529
triadic
#5E8529 #295E85 #85295E
tetradic
#5E8529 #29857E #502985 #852930
square
#5E8529 #29857E #502985 #852930
split-complementary
#5E8529 #293085 #7E2985
monochromatic
#1C270C #3D561B #5E8529 #7FB437 #9DCD5C

Accessibility & contrast

On white

4.32
#5E8529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5E8529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8529
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8529#FFFFFF#000000##000000
##5E85291.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1C
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#617F72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e8529;
/* rgb */ color: rgb(94, 133, 41);
/* oklch */ color: oklch(56.8% 0.128 129.5);
Tailwind
colors: {
  custom: {
    50: '#8fa868',
    500: '#5e8529',
    950: '#000000',
  },
}
SCSS
$custom: #5e8529;
$custom-light: #8fa868;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8529",
  "rgb": {
    "r": 94,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 85.435,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56828,
    "c": 0.12805,
    "h": 129.5
  },
  "luminance": 0.19315
}

Semantic roles & 50–950 ramp

primary
#5E8529
secondary
#7E58B2
accent
#4CDC89
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E8529

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

Preview Lab → · Contrast checker → · Palette generator →

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