#5F7253#5F7253

#5F7253 is a mid, muted yellow-green. Relative luminance 0.151; OKLCH L 52.8% C 0.052 H 133.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5F7253
RGBrgb(95, 114, 83)
HSLhsl(97, 16%, 39%)
HSVhsv(97, 27%, 45%)
CMYKcmyk(16.7%, 0%, 27.2%, 55.3%)
CIE-LABlab(45.76, -13.32, 14.92)
CIE-LCHlch(45.76, 20.00, 131.75°)
OKLaboklab(52.77% -0.036 0.0378)
OKLCHoklch(52.77% 0.052 133.6)
XYZxyz(12.2977, 15.0919, 10.4471)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7253 #665372
analogous
#6E7253 #5F7253 #537256
triadic
#5F7253 #535F72 #72535F
tetradic
#5F7253 #536E72 #665372 #725653
square
#5F7253 #536E72 #665372 #725653
split-complementary
#5F7253 #565372 #72536E
monochromatic
#242B1F #414F39 #5F7253 #7D956D #9CAF91

Accessibility & contrast

On white

5.23
#5F7253 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5F7253 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7253
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7253#FFFFFF#000000##FFFFFF
##5F72531.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756D51
Deuteranopia (green-blind)
#726C54
Tritanopia (blue-blind)
#5F6F6A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f7253;
/* rgb */ color: rgb(95, 114, 83);
/* oklch */ color: oklch(52.8% 0.052 133.6);
Tailwind
colors: {
  custom: {
    50: '#8c9a83',
    500: '#5f7253',
    950: '#000000',
  },
}
SCSS
$custom: #5f7253;
$custom-light: #8c9a83;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7253",
  "rgb": {
    "r": 95,
    "g": 114,
    "b": 83
  },
  "hsl": {
    "h": 96.774,
    "s": 15.736,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.05224,
    "h": 133.6
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#5F7253
secondary
#93849D
accent
#6FB89C
background
#F8F9F8
surface
#F0F2EF
border
#CBCCCA
text
#0C0E0A
muted
#7D7E7C

Preview Lab

Preview with #5F7253

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

Preview Lab → · Contrast checker → · Palette generator →

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