#988925#988925

#988925 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.6% C 0.117 H 100.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#988925
RGBrgb(152, 137, 37)
HSLhsl(52, 61%, 37%)
HSVhsv(52, 76%, 60%)
CMYKcmyk(0%, 9.9%, 75.7%, 40.4%)
CIE-LABlab(56.78, -5.66, 52.25)
CIE-LCHlch(56.78, 52.56, 96.18°)
OKLaboklab(62.55% -0.0211 0.115)
OKLCHoklch(62.55% 0.117 100.4)
XYZxyz(22.2295, 24.7013, 5.3468)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988925 #253498
analogous
#985025 #988925 #6E9825
triadic
#988925 #259889 #892598
tetradic
#988925 #259850 #253498 #98256E
square
#988925 #259850 #253498 #98256E
split-complementary
#988925 #256E98 #502598
monochromatic
#36300D #675D19 #988925 #C9B531 #D8C85F

Accessibility & contrast

On white

3.54
#988925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#988925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988925
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988925#FFFFFF#000000##000000
##9889251.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978512
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#A47F76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #988925;
/* rgb */ color: rgb(152, 137, 37);
/* oklch */ color: oklch(62.6% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#baab67',
    500: '#988925',
    950: '#000000',
  },
}
SCSS
$custom: #988925;
$custom-light: #baab67;
$custom-dark: #000000;
JSON
{
  "hex": "#988925",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 52.174,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62552,
    "c": 0.1169,
    "h": 100.4
  },
  "luminance": 0.247
}

Semantic roles & 50–950 ramp

primary
#988925
secondary
#5C68BD
accent
#59E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988925

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

Preview Lab → · Contrast checker → · Palette generator →

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