#998530#998530

#998530 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.106 H 95.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#998530
RGBrgb(153, 133, 48)
HSLhsl(49, 52%, 39%)
HSVhsv(49, 69%, 60%)
CMYKcmyk(0%, 13.1%, 68.6%, 40%)
CIE-LABlab(55.85, -2.42, 46.85)
CIE-LCHlch(55.85, 46.91, 92.96°)
OKLaboklab(61.86% -0.0107 0.1056)
OKLCHoklch(61.86% 0.106 95.8)
XYZxyz(22.0590, 23.7619, 6.2203)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998530 #304499
analogous
#995030 #998530 #799930
triadic
#998530 #309985 #853099
tetradic
#998530 #309950 #304499 #993079
square
#998530 #309950 #304499 #993079
split-complementary
#998530 #307999 #503099
monochromatic
#3C3413 #6A5D21 #998530 #C4AB42 #D2C071

Accessibility & contrast

On white

3.65
#998530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#998530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998530
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998530#FFFFFF#000000##000000
##9985301.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928225
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#A57B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998530;
/* rgb */ color: rgb(153, 133, 48);
/* oklch */ color: oklch(61.9% 0.106 95.8);
Tailwind
colors: {
  custom: {
    50: '#baa86d',
    500: '#998530',
    950: '#000000',
  },
}
SCSS
$custom: #998530;
$custom-light: #baa86d;
$custom-dark: #000000;
JSON
{
  "hex": "#998530",
  "rgb": {
    "r": 153,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 48.571,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.10611,
    "h": 95.8
  },
  "luminance": 0.23761
}

Semantic roles & 50–950 ramp

primary
#998530
secondary
#6B7ABA
accent
#67DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #998530

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

Preview Lab → · Contrast checker → · Palette generator →

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