#998B24#998B24

#998B24 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.119 H 101.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#998B24
RGBrgb(153, 139, 36)
HSLhsl(53, 62%, 37%)
HSVhsv(53, 76%, 60%)
CMYKcmyk(0%, 9.2%, 76.5%, 40%)
CIE-LABlab(57.43, -6.34, 53.26)
CIE-LCHlch(57.43, 53.64, 96.79°)
OKLaboklab(63.09% -0.0232 0.1169)
OKLCHoklch(63.09% 0.119 101.2)
XYZxyz(22.6890, 25.3660, 5.3697)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B24 #243299
analogous
#995124 #998B24 #6C9924
triadic
#998B24 #24998B #8B2499
tetradic
#998B24 #249951 #243299 #99246C
square
#998B24 #249951 #243299 #99246C
split-complementary
#998B24 #246C99 #512499
monochromatic
#36310D #675E18 #998B24 #CBB830 #D9CA5E

Accessibility & contrast

On white

3.46
#998B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#998B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B24
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B24#FFFFFF#000000##000000
##998B241.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870F
Deuteranopia (green-blind)
#9D8C2B
Tritanopia (blue-blind)
#A58177
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b24;
/* rgb */ color: rgb(153, 139, 36);
/* oklch */ color: oklch(63.1% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#bbac67',
    500: '#998b24',
    950: '#000000',
  },
}
SCSS
$custom: #998b24;
$custom-light: #bbac67;
$custom-dark: #000000;
JSON
{
  "hex": "#998b24",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 52.821,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.11916,
    "h": 101.2
  },
  "luminance": 0.25365
}

Semantic roles & 50–950 ramp

primary
#998B24
secondary
#5B67BE
accent
#56E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998B24

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

Preview Lab → · Contrast checker → · Palette generator →

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