#998C25#998C25

#998C25 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.119 H 101.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#998C25
RGBrgb(153, 140, 37)
HSLhsl(53, 61%, 37%)
HSVhsv(53, 76%, 60%)
CMYKcmyk(0%, 8.5%, 75.8%, 40%)
CIE-LABlab(57.72, -6.84, 53.17)
CIE-LCHlch(57.72, 53.60, 97.33°)
OKLaboklab(63.32% -0.0245 0.1169)
OKLCHoklch(63.32% 0.119 101.9)
XYZxyz(22.8499, 25.6631, 5.4998)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998C25 #253299
analogous
#995225 #998C25 #6C9925
triadic
#998C25 #25998C #8C2599
tetradic
#998C25 #259952 #253299 #99256C
square
#998C25 #259952 #253299 #99256C
split-complementary
#998C25 #256C99 #522599
monochromatic
#36320D #685F19 #998C25 #CAB931 #D9CB60

Accessibility & contrast

On white

3.42
#998C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#998C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998C25
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998C25#FFFFFF#000000##000000
##998C251.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998811
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#A58278
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998c25;
/* rgb */ color: rgb(153, 140, 37);
/* oklch */ color: oklch(63.3% 0.119 101.9);
Tailwind
colors: {
  custom: {
    50: '#bbad68',
    500: '#998c25',
    950: '#000000',
  },
}
SCSS
$custom: #998c25;
$custom-light: #bbad68;
$custom-dark: #000000;
JSON
{
  "hex": "#998c25",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 53.276,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63315,
    "c": 0.11942,
    "h": 101.9
  },
  "luminance": 0.25662
}

Semantic roles & 50–950 ramp

primary
#998C25
secondary
#5C67BE
accent
#56E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998C25

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

Preview Lab → · Contrast checker → · Palette generator →

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