#988025#988025

#988025 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.6% C 0.110 H 93.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#988025
RGBrgb(152, 128, 37)
HSLhsl(47, 61%, 37%)
HSVhsv(47, 76%, 60%)
CMYKcmyk(0%, 15.8%, 75.7%, 40.4%)
CIE-LABlab(54.29, -0.69, 49.87)
CIE-LCHlch(54.29, 49.87, 90.79°)
OKLaboklab(60.58% -0.007 0.1099)
OKLCHoklch(60.58% 0.11 93.6)
XYZxyz(21.0031, 22.2485, 4.9380)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988025 #253D98
analogous
#984625 #988025 #779825
triadic
#988025 #259880 #802598
tetradic
#988025 #259846 #253D98 #982577
square
#988025 #259846 #253D98 #982577
split-complementary
#988025 #257798 #462598
monochromatic
#362D0D #675719 #988025 #C9A931 #D8BF5F

Accessibility & contrast

On white

3.85
#988025 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#988025 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988025
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988025#FFFFFF#000000##000000
##9880251.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E16
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#A5756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #988025;
/* rgb */ color: rgb(152, 128, 37);
/* oklch */ color: oklch(60.6% 0.110 93.6);
Tailwind
colors: {
  custom: {
    50: '#baa466',
    500: '#988025',
    950: '#000000',
  },
}
SCSS
$custom: #988025;
$custom-light: #baa466;
$custom-dark: #000000;
JSON
{
  "hex": "#988025",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 37
  },
  "hsl": {
    "h": 47.478,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.11013,
    "h": 93.6
  },
  "luminance": 0.22247
}

Semantic roles & 50–950 ramp

primary
#988025
secondary
#5C70BD
accent
#65E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988025

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

Preview Lab → · Contrast checker → · Palette generator →

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