#98982D#98982D

#98982D is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.0% C 0.126 H 109.4°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#98982D
RGBrgb(152, 152, 45)
HSLhsl(60, 54%, 39%)
HSVhsv(60, 70%, 60%)
CMYKcmyk(0%, 0%, 70.4%, 40.4%)
CIE-LABlab(61.06, -13.31, 53.35)
CIE-LCHlch(61.06, 54.99, 104.01°)
OKLaboklab(65.98% -0.0419 0.1188)
OKLCHoklch(65.98% 0.126 109.4)
XYZxyz(24.6516, 29.3221, 6.8433)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98982D #2D2D98
analogous
#98622D #98982D #62982D
triadic
#98982D #2D9898 #982D98
tetradic
#98982D #2D9862 #2D2D98 #982D62
square
#98982D #2D9862 #2D2D98 #982D62
split-complementary
#98982D #2D6298 #622D98
monochromatic
#3A3A11 #69691F #98982D #C5C53D #D3D36C

Accessibility & contrast

On white

3.06
#98982D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#98982D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98982D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98982D#FFFFFF#000000##000000
##98982D1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4921B
Deuteranopia (green-blind)
#A69535
Tritanopia (blue-blind)
#A38E83
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #98982d;
/* rgb */ color: rgb(152, 152, 45);
/* oklch */ color: oklch(66.0% 0.126 109.4);
Tailwind
colors: {
  custom: {
    50: '#b9b66d',
    500: '#98982d',
    950: '#000000',
  },
}
SCSS
$custom: #98982d;
$custom-light: #b9b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#98982d",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65978,
    "c": 0.12597,
    "h": 109.4
  },
  "luminance": 0.29321
}

Semantic roles & 50–950 ramp

primary
#98982D
secondary
#6666BA
accent
#4ADE4A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #98982D

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

Preview Lab → · Contrast checker → · Palette generator →

#98982D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva