#7F894E#7F894E

#7F894E is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.8% C 0.083 H 116.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7F894E
RGBrgb(127, 137, 78)
HSLhsl(70, 27%, 42%)
HSVhsv(70, 43%, 54%)
CMYKcmyk(7.3%, 0%, 43.1%, 46.3%)
CIE-LABlab(55.02, -13.41, 30.36)
CIE-LCHlch(55.02, 33.19, 113.83°)
OKLaboklab(60.76% -0.0372 0.0737)
OKLCHoklch(60.76% 0.083 116.8)
XYZxyz(19.0733, 22.9536, 10.6319)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F894E #584E89
analogous
#89754E #7F894E #62894E
triadic
#7F894E #4E7F89 #894E7F
tetradic
#7F894E #4E8975 #584E89 #894E62
square
#7F894E #4E8975 #584E89 #894E62
split-complementary
#7F894E #4E6289 #754E89
monochromatic
#373B22 #5B6238 #7F894E #9FAA6A #B8C091

Accessibility & contrast

On white

3.76
#7F894E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7F894E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F894E
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F894E#FFFFFF#000000##000000
##7F894E1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908349
Deuteranopia (green-blind)
#8F8451
Tritanopia (blue-blind)
#85837B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7f894e;
/* rgb */ color: rgb(127, 137, 78);
/* oklch */ color: oklch(60.8% 0.083 116.8);
Tailwind
colors: {
  custom: {
    50: '#a5ab80',
    500: '#7f894e',
    950: '#000000',
  },
}
SCSS
$custom: #7f894e;
$custom-light: #a5ab80;
$custom-dark: #000000;
JSON
{
  "hex": "#7f894e",
  "rgb": {
    "r": 127,
    "g": 137,
    "b": 78
  },
  "hsl": {
    "h": 70.169,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.60759,
    "c": 0.08253,
    "h": 116.8
  },
  "luminance": 0.22953
}

Semantic roles & 50–950 ramp

primary
#7F894E
secondary
#8C86AD
accent
#64C474
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7F894E

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

Preview Lab → · Contrast checker → · Palette generator →

#7F894E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva