#948D71#948D71

#948D71 is a light, muted yellow. Relative luminance 0.265; OKLCH L 64.2% C 0.041 H 95.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#948D71
RGBrgb(148, 141, 113)
HSLhsl(48, 14%, 51%)
HSVhsv(48, 24%, 58%)
CMYKcmyk(0%, 4.7%, 23.6%, 42%)
CIE-LABlab(58.54, -2.16, 15.91)
CIE-LCHlch(58.54, 16.05, 97.74°)
OKLaboklab(64.19% -0.004 0.0406)
OKLCHoklch(64.19% 0.041 95.6)
XYZxyz(24.7183, 26.5384, 19.4399)
Luminance0.2654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948D71 #717894
analogous
#947B71 #948D71 #899471
triadic
#948D71 #71948D #8D7194
tetradic
#948D71 #71947B #717894 #947189
square
#948D71 #71947B #717894 #947189
split-complementary
#948D71 #718994 #7B7194
monochromatic
#4F4B3C #726C56 #948D71 #AEA994 #C9C5B7

Accessibility & contrast

On white

3.33
#948D71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#948D71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948D71
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948D71#FFFFFF#000000##000000
##948D711.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938B6F
Deuteranopia (green-blind)
#958E72
Tritanopia (blue-blind)
#9A8985
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #948d71;
/* rgb */ color: rgb(148, 141, 113);
/* oklch */ color: oklch(64.2% 0.041 95.6);
Tailwind
colors: {
  custom: {
    50: '#b3ae9a',
    500: '#948d71',
    950: '#000000',
  },
}
SCSS
$custom: #948d71;
$custom-light: #b3ae9a;
$custom-dark: #000000;
JSON
{
  "hex": "#948d71",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 113
  },
  "hsl": {
    "h": 48,
    "s": 14.056,
    "l": 51.176
  },
  "oklch": {
    "l": 0.64188,
    "c": 0.04077,
    "h": 95.6
  },
  "luminance": 0.26538
}

Semantic roles & 50–950 ramp

primary
#948D71
secondary
#A9ACB8
accent
#7FB771
background
#FBFAF9
surface
#F6F4F2
border
#D0CECC
text
#11100E
muted
#807F7E

Preview Lab

Preview with #948D71

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

Preview Lab → · Contrast checker → · Palette generator →

#948D71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva