#5E7627#5E7627

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

Color values

HEX#5E7627
RGBrgb(94, 118, 39)
HSLhsl(78, 50%, 31%)
HSVhsv(78, 67%, 46%)
CMYKcmyk(20.3%, 0%, 66.9%, 53.7%)
CIE-LABlab(46.29, -21.47, 39.27)
CIE-LCHlch(46.29, 44.75, 118.67°)
OKLaboklab(52.96% -0.0616 0.0897)
OKLCHoklch(52.96% 0.109 124.5)
XYZxyz(11.4608, 15.4829, 4.3038)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7627 #3F2776
analogous
#766627 #5E7627 #367627
triadic
#5E7627 #275E76 #76275E
tetradic
#5E7627 #277666 #3F2776 #762736
square
#5E7627 #277666 #3F2776 #762736
split-complementary
#5E7627 #273676 #662776
monochromatic
#151A09 #394818 #5E7627 #83A436 #A2C652

Accessibility & contrast

On white

5.13
#5E7627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E7627
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7627#FFFFFF#000000##FFFFFF
##5E76271.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e7627;
/* rgb */ color: rgb(94, 118, 39);
/* oklch */ color: oklch(53.0% 0.109 124.5);
Tailwind
colors: {
  custom: {
    50: '#8e9d65',
    500: '#5e7627',
    950: '#000000',
  },
}
SCSS
$custom: #5e7627;
$custom-light: #8e9d65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7627",
  "rgb": {
    "r": 94,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 78.228,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.10884,
    "h": 124.5
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#5E7627
secondary
#6B51A8
accent
#4EDA78
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E7627

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

Preview Lab → · Contrast checker → · Palette generator →

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