#998F25#998F25

#998F25 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.122 H 103.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#998F25
RGBrgb(153, 143, 37)
HSLhsl(55, 61%, 37%)
HSVhsv(55, 76%, 60%)
CMYKcmyk(0%, 6.5%, 75.8%, 40%)
CIE-LABlab(58.56, -8.47, 53.96)
CIE-LCHlch(58.56, 54.62, 98.92°)
OKLaboklab(63.98% -0.0291 0.1186)
OKLCHoklch(63.98% 0.122 103.8)
XYZxyz(23.2943, 26.5518, 5.6479)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F25 #252F99
analogous
#995525 #998F25 #699925
triadic
#998F25 #25998F #8F2599
tetradic
#998F25 #259955 #252F99 #992569
square
#998F25 #259955 #252F99 #992569
split-complementary
#998F25 #256999 #552599
monochromatic
#36330D #686119 #998F25 #CABD31 #D9CE60

Accessibility & contrast

On white

3.33
#998F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#998F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F25
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F25#FFFFFF#000000##000000
##998F251.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A10
Deuteranopia (green-blind)
#A08F2D
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f25;
/* rgb */ color: rgb(153, 143, 37);
/* oklch */ color: oklch(64.0% 0.122 103.8);
Tailwind
colors: {
  custom: {
    50: '#bbaf68',
    500: '#998f25',
    950: '#000000',
  },
}
SCSS
$custom: #998f25;
$custom-light: #bbaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#998f25",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 54.828,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63984,
    "c": 0.12208,
    "h": 103.8
  },
  "luminance": 0.26551
}

Semantic roles & 50–950 ramp

primary
#998F25
secondary
#5C65BE
accent
#51E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998F25

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

Preview Lab → · Contrast checker → · Palette generator →

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