#5E7929#5E7929

#5E7929 is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.7% C 0.111 H 125.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5E7929
RGBrgb(94, 121, 41)
HSLhsl(80, 49%, 32%)
HSVhsv(80, 66%, 47%)
CMYKcmyk(22.3%, 0%, 66.1%, 52.5%)
CIE-LABlab(47.25, -22.84, 39.39)
CIE-LCHlch(47.25, 45.53, 120.11°)
OKLaboklab(53.75% -0.0652 0.0903)
OKLCHoklch(53.75% 0.111 125.8)
XYZxyz(11.8537, 16.2144, 4.6026)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7929 #442979
analogous
#796C29 #5E7929 #367929
triadic
#5E7929 #295E79 #79295E
tetradic
#5E7929 #29796C #442979 #792936
square
#5E7929 #29796C #442979 #792936
split-complementary
#5E7929 #293679 #6C2979
monochromatic
#171E0A #3A4B1A #5E7929 #82A738 #A0C656

Accessibility & contrast

On white

4.95
#5E7929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5E7929 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7929
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7929#FFFFFF#000000##FFFFFF
##5E79291.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#627368
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e7929;
/* rgb */ color: rgb(94, 121, 41);
/* oklch */ color: oklch(53.7% 0.111 125.8);
Tailwind
colors: {
  custom: {
    50: '#8e9f67',
    500: '#5e7929',
    950: '#000000',
  },
}
SCSS
$custom: #5e7929;
$custom-light: #8e9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7929",
  "rgb": {
    "r": 94,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 80.25,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.11135,
    "h": 125.8
  },
  "luminance": 0.16215
}

Semantic roles & 50–950 ramp

primary
#5E7929
secondary
#7153AB
accent
#4FD97D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E7929

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

Preview Lab → · Contrast checker → · Palette generator →

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