#98874F#98874F

#98874F is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.6% C 0.078 H 93.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#98874F
RGBrgb(152, 135, 79)
HSLhsl(46, 32%, 45%)
HSVhsv(46, 48%, 60%)
CMYKcmyk(0%, 11.2%, 48%, 40.4%)
CIE-LABlab(56.65, -1.47, 32.33)
CIE-LCHlch(56.65, 32.36, 92.60°)
OKLaboklab(62.59% -0.0041 0.0779)
OKLCHoklch(62.59% 0.078 93)
XYZxyz(23.0249, 24.5688, 10.9250)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98874F #4F6098
analogous
#98624F #98874F #85984F
triadic
#98874F #4F9887 #874F98
tetradic
#98874F #4F9862 #4F6098 #984F85
square
#98874F #4F9862 #4F6098 #984F85
split-complementary
#98874F #4F8598 #624F98
monochromatic
#473F25 #70633A #98874F #B5A470 #C9BE98

Accessibility & contrast

On white

3.55
#98874F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#98874F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98874F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98874F#FFFFFF#000000##000000
##98874F1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92854A
Deuteranopia (green-blind)
#968A51
Tritanopia (blue-blind)
#A27F79
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #98874f;
/* rgb */ color: rgb(152, 135, 79);
/* oklch */ color: oklch(62.6% 0.078 93.0);
Tailwind
colors: {
  custom: {
    50: '#b8a981',
    500: '#98874f',
    950: '#000000',
  },
}
SCSS
$custom: #98874f;
$custom-light: #b8a981;
$custom-dark: #000000;
JSON
{
  "hex": "#98874f",
  "rgb": {
    "r": 152,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 46.027,
    "s": 31.602,
    "l": 45.294
  },
  "oklch": {
    "l": 0.62586,
    "c": 0.07799,
    "h": 93
  },
  "luminance": 0.24568
}

Semantic roles & 50–950 ramp

primary
#98874F
secondary
#8D96B6
accent
#78C860
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#120F0A
muted
#817F7C

Preview Lab

Preview with #98874F

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

Preview Lab → · Contrast checker → · Palette generator →

#98874F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva