#998F64#998F64

#998F64 is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.8% C 0.061 H 96.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#998F64
RGBrgb(153, 143, 100)
HSLhsl(49, 21%, 50%)
HSVhsv(49, 35%, 60%)
CMYKcmyk(0%, 6.5%, 34.6%, 40%)
CIE-LABlab(59.29, -3.04, 24.26)
CIE-LCHlch(59.29, 24.45, 97.15°)
OKLaboklab(64.8% -0.007 0.0604)
OKLCHoklch(64.8% 0.061 96.6)
XYZxyz(25.2599, 27.3380, 16.0003)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F64 #646E99
analogous
#997464 #998F64 #899964
triadic
#998F64 #64998F #8F6499
tetradic
#998F64 #649974 #646E99 #996489
square
#998F64 #649974 #646E99 #996489
split-complementary
#998F64 #648999 #746499
monochromatic
#4F4A34 #746C4C #998F64 #B2AA89 #CAC4AE

Accessibility & contrast

On white

3.25
#998F64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#998F64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F64
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F64#FFFFFF#000000##000000
##998F641.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978D61
Deuteranopia (green-blind)
#9A9066
Tritanopia (blue-blind)
#A18984
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #998f64;
/* rgb */ color: rgb(153, 143, 100);
/* oklch */ color: oklch(64.8% 0.061 96.6);
Tailwind
colors: {
  custom: {
    50: '#b8af90',
    500: '#998f64',
    950: '#000000',
  },
}
SCSS
$custom: #998f64;
$custom-light: #b8af90;
$custom-dark: #000000;
JSON
{
  "hex": "#998f64",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 100
  },
  "hsl": {
    "h": 48.679,
    "s": 20.949,
    "l": 49.608
  },
  "oklch": {
    "l": 0.64797,
    "c": 0.0608,
    "h": 96.6
  },
  "luminance": 0.27337
}

Semantic roles & 50–950 ramp

primary
#998F64
secondary
#A0A5B9
accent
#7ABE6A
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #998F64

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

Preview Lab → · Contrast checker → · Palette generator →

#998F64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva