#998325#998325

#998325 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.112 H 95.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#998325
RGBrgb(153, 131, 37)
HSLhsl(49, 61%, 37%)
HSVhsv(49, 76%, 60%)
CMYKcmyk(0%, 14.4%, 75.8%, 40%)
CIE-LABlab(55.22, -1.90, 50.79)
CIE-LCHlch(55.22, 50.83, 92.14°)
OKLaboklab(61.33% -0.0105 0.1118)
OKLCHoklch(61.33% 0.112 95.4)
XYZxyz(21.5882, 23.1397, 5.0792)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998325 #253B99
analogous
#994925 #998325 #759925
triadic
#998325 #259983 #832599
tetradic
#998325 #259949 #253B99 #992575
square
#998325 #259949 #253B99 #992575
split-complementary
#998325 #257599 #492599
monochromatic
#362F0D #685919 #998325 #CAAD31 #D9C260

Accessibility & contrast

On white

3.73
#998325 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#998325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998325
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998325#FFFFFF#000000##000000
##9983251.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#A67871
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #998325;
/* rgb */ color: rgb(153, 131, 37);
/* oklch */ color: oklch(61.3% 0.112 95.4);
Tailwind
colors: {
  custom: {
    50: '#bba667',
    500: '#998325',
    950: '#000000',
  },
}
SCSS
$custom: #998325;
$custom-light: #bba667;
$custom-dark: #000000;
JSON
{
  "hex": "#998325",
  "rgb": {
    "r": 153,
    "g": 131,
    "b": 37
  },
  "hsl": {
    "h": 48.621,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61333,
    "c": 0.11232,
    "h": 95.4
  },
  "luminance": 0.23138
}

Semantic roles & 50–950 ramp

primary
#998325
secondary
#5C6FBE
accent
#62E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998325

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

Preview Lab → · Contrast checker → · Palette generator →

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