#998748#998748

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

Color values

HEX#998748
RGBrgb(153, 135, 72)
HSLhsl(47, 36%, 44%)
HSVhsv(47, 53%, 60%)
CMYKcmyk(0%, 11.8%, 52.9%, 40%)
CIE-LABlab(56.65, -1.71, 36.06)
CIE-LCHlch(56.65, 36.10, 92.72°)
OKLaboklab(62.58% -0.0057 0.0856)
OKLCHoklch(62.58% 0.086 93.8)
XYZxyz(22.9714, 24.5691, 9.6620)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998748 #485A99
analogous
#995F48 #998748 #839948
triadic
#998748 #489987 #874899
tetradic
#998748 #48995F #485A99 #994883
square
#998748 #48995F #485A99 #994883
split-complementary
#998748 #488399 #5F4899
monochromatic
#463E21 #6F6234 #998748 #B7A567 #CBBE90

Accessibility & contrast

On white

3.55
#998748 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#998748 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##998748#FFFFFF#000000##000000
##9987481.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)
#938542
Deuteranopia (green-blind)
#978A4B
Tritanopia (blue-blind)
#A47E78
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #998748;
/* rgb */ color: rgb(153, 135, 72);
/* oklch */ color: oklch(62.6% 0.086 93.8);
Tailwind
colors: {
  custom: {
    50: '#b9a97c',
    500: '#998748',
    950: '#000000',
  },
}
SCSS
$custom: #998748;
$custom-light: #b9a97c;
$custom-dark: #000000;
JSON
{
  "hex": "#998748",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 72
  },
  "hsl": {
    "h": 46.667,
    "s": 36,
    "l": 44.118
  },
  "oklch": {
    "l": 0.62577,
    "c": 0.08576,
    "h": 93.8
  },
  "luminance": 0.24568
}

Semantic roles & 50–950 ramp

primary
#998748
secondary
#8691B7
accent
#75CC5C
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#120F09
muted
#817F7B

Preview Lab

Preview with #998748

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

Preview Lab → · Contrast checker → · Palette generator →

#998748 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva