#5E7628#5E7628

#5E7628 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 53.0% C 0.108 H 124.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5E7628
RGBrgb(94, 118, 40)
HSLhsl(78, 49%, 31%)
HSVhsv(78, 66%, 46%)
CMYKcmyk(20.3%, 0%, 66.1%, 53.7%)
CIE-LABlab(46.30, -21.39, 38.82)
CIE-LCHlch(46.30, 44.32, 118.85°)
OKLaboklab(52.97% -0.0613 0.0889)
OKLCHoklch(52.97% 0.108 124.6)
XYZxyz(11.4776, 15.4896, 4.3922)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7628 #402876
analogous
#766728 #5E7628 #377628
triadic
#5E7628 #285E76 #76285E
tetradic
#5E7628 #287667 #402876 #762837
square
#5E7628 #287667 #402876 #762837
split-complementary
#5E7628 #283776 #672876
monochromatic
#151B09 #3A4819 #5E7628 #82A437 #A2C554

Accessibility & contrast

On white

5.12
#5E7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5E7628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7628
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7628#FFFFFF#000000##FFFFFF
##5E76281.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E1E
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#627066
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e7628;
/* rgb */ color: rgb(94, 118, 40);
/* oklch */ color: oklch(53.0% 0.108 124.6);
Tailwind
colors: {
  custom: {
    50: '#8e9d66',
    500: '#5e7628',
    950: '#000000',
  },
}
SCSS
$custom: #5e7628;
$custom-light: #8e9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7628",
  "rgb": {
    "r": 94,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 78.462,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52973,
    "c": 0.10799,
    "h": 124.6
  },
  "luminance": 0.1549
}

Semantic roles & 50–950 ramp

primary
#5E7628
secondary
#6C52A8
accent
#4FD979
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E7628

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

Preview Lab → · Contrast checker → · Palette generator →

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