#5E6852#5E6852

#5E6852 is a mid, muted yellow-green. Relative luminance 0.129; OKLCH L 50.2% C 0.036 H 127.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5E6852
RGBrgb(94, 104, 82)
HSLhsl(87, 12%, 36%)
HSVhsv(87, 21%, 41%)
CMYKcmyk(9.6%, 0%, 21.2%, 59.2%)
CIE-LABlab(42.60, -8.25, 11.14)
CIE-LCHlch(42.60, 13.86, 126.52°)
OKLaboklab(50.22% -0.0219 0.0285)
OKLCHoklch(50.22% 0.036 127.6)
XYZxyz(11.0892, 12.8895, 9.8847)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6852 #5C5268
analogous
#686752 #5E6852 #536852
triadic
#5E6852 #525E68 #68525E
tetradic
#5E6852 #526867 #5C5268 #685253
square
#5E6852 #526867 #5C5268 #685253
split-complementary
#5E6852 #525368 #675268
monochromatic
#20241C #3F4637 #5E6852 #7D8A6D #9BA68E

Accessibility & contrast

On white

5.87
#5E6852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5E6852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6852
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6852#FFFFFF#000000##FFFFFF
##5E68521.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6551
Deuteranopia (green-blind)
#696453
Tritanopia (blue-blind)
#5F6662
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e6852;
/* rgb */ color: rgb(94, 104, 82);
/* oklch */ color: oklch(50.2% 0.036 127.6);
Tailwind
colors: {
  custom: {
    50: '#8b9382',
    500: '#5e6852',
    950: '#000000',
  },
}
SCSS
$custom: #5e6852;
$custom-light: #8b9382;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6852",
  "rgb": {
    "r": 94,
    "g": 104,
    "b": 82
  },
  "hsl": {
    "h": 87.273,
    "s": 11.828,
    "l": 36.471
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.03599,
    "h": 127.6
  },
  "luminance": 0.1289
}

Semantic roles & 50–950 ramp

primary
#5E6852
secondary
#8A8195
accent
#73B591
background
#F8F9F7
surface
#F0F1EE
border
#CBCBC9
text
#0C0D0A
muted
#7D7E7C

Preview Lab

Preview with #5E6852

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

Preview Lab → · Contrast checker → · Palette generator →

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