#988930#988930

#988930 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.109 H 99.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#988930
RGBrgb(152, 137, 48)
HSLhsl(51, 52%, 39%)
HSVhsv(51, 68%, 60%)
CMYKcmyk(0%, 9.9%, 68.4%, 40.4%)
CIE-LABlab(56.86, -5.08, 47.87)
CIE-LCHlch(56.86, 48.14, 96.06°)
OKLaboklab(62.64% -0.0183 0.1078)
OKLCHoklch(62.64% 0.109 99.6)
XYZxyz(22.4290, 24.7811, 6.3975)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988930 #303F98
analogous
#985530 #988930 #739830
triadic
#988930 #309889 #893098
tetradic
#988930 #309855 #303F98 #983073
square
#988930 #309855 #303F98 #983073
split-complementary
#988930 #307398 #553098
monochromatic
#3B3513 #695F21 #988930 #C3B142 #D2C470

Accessibility & contrast

On white

3.53
#988930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#988930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988930
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988930#FFFFFF#000000##000000
##9889301.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968524
Deuteranopia (green-blind)
#9A8B35
Tritanopia (blue-blind)
#A47F77
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #988930;
/* rgb */ color: rgb(152, 137, 48);
/* oklch */ color: oklch(62.6% 0.109 99.6);
Tailwind
colors: {
  custom: {
    50: '#b9ab6d',
    500: '#988930',
    950: '#000000',
  },
}
SCSS
$custom: #988930;
$custom-light: #b9ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#988930",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 48
  },
  "hsl": {
    "h": 51.346,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62639,
    "c": 0.10931,
    "h": 99.6
  },
  "luminance": 0.2478
}

Semantic roles & 50–950 ramp

primary
#988930
secondary
#6A76BA
accent
#61DB4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #988930

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

Preview Lab → · Contrast checker → · Palette generator →

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