#998B25#998B25

#998B25 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#998B25
RGBrgb(153, 139, 37)
HSLhsl(53, 61%, 37%)
HSVhsv(53, 76%, 60%)
CMYKcmyk(0%, 9.2%, 75.8%, 40%)
CIE-LABlab(57.44, -6.30, 52.90)
CIE-LCHlch(57.44, 53.27, 96.79°)
OKLaboklab(63.09% -0.023 0.1163)
OKLCHoklch(63.09% 0.119 101.2)
XYZxyz(22.7045, 25.3722, 5.4513)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B25 #253399
analogous
#995125 #998B25 #6D9925
triadic
#998B25 #25998B #8B2599
tetradic
#998B25 #259951 #253399 #99256D
square
#998B25 #259951 #253399 #99256D
split-complementary
#998B25 #256D99 #512599
monochromatic
#36310D #685E19 #998B25 #CAB831 #D9CA60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998B25#FFFFFF#000000##000000
##998B251.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)
#998711
Deuteranopia (green-blind)
#9D8C2C
Tritanopia (blue-blind)
#A58177
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b25;
/* rgb */ color: rgb(153, 139, 37);
/* oklch */ color: oklch(63.1% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#bbac68',
    500: '#998b25',
    950: '#000000',
  },
}
SCSS
$custom: #998b25;
$custom-light: #bbac68;
$custom-dark: #000000;
JSON
{
  "hex": "#998b25",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 52.759,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63093,
    "c": 0.11856,
    "h": 101.2
  },
  "luminance": 0.25371
}

Semantic roles & 50–950 ramp

primary
#998B25
secondary
#5C68BE
accent
#57E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998B25

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

Preview Lab → · Contrast checker → · Palette generator →

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