#998725#998725

#998725 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.115 H 98.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#998725
RGBrgb(153, 135, 37)
HSLhsl(51, 61%, 37%)
HSVhsv(51, 76%, 60%)
CMYKcmyk(0%, 11.8%, 75.8%, 40%)
CIE-LABlab(56.32, -4.11, 51.84)
CIE-LCHlch(56.32, 52.01, 94.53°)
OKLaboklab(62.21% -0.0168 0.1141)
OKLCHoklch(62.21% 0.115 98.4)
XYZxyz(22.1359, 24.2349, 5.2618)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998725 #253799
analogous
#994D25 #998725 #719925
triadic
#998725 #259987 #872599
tetradic
#998725 #25994D #253799 #992571
square
#998725 #25994D #253799 #992571
split-complementary
#998725 #257199 #4D2599
monochromatic
#36300D #685C19 #998725 #CAB231 #D9C660

Accessibility & contrast

On white

3.59
#998725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#998725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998725
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998725#FFFFFF#000000##000000
##9987251.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958313
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#A57C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998725;
/* rgb */ color: rgb(153, 135, 37);
/* oklch */ color: oklch(62.2% 0.115 98.4);
Tailwind
colors: {
  custom: {
    50: '#bba967',
    500: '#998725',
    950: '#000000',
  },
}
SCSS
$custom: #998725;
$custom-light: #bba967;
$custom-dark: #000000;
JSON
{
  "hex": "#998725",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 50.69,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62209,
    "c": 0.1153,
    "h": 98.4
  },
  "luminance": 0.24234
}

Semantic roles & 50–950 ramp

primary
#998725
secondary
#5C6BBE
accent
#5DE444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998725

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

Preview Lab → · Contrast checker → · Palette generator →

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