#998F16#998F16

#998F16 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.9% C 0.129 H 104.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#998F16
RGBrgb(153, 143, 22)
HSLhsl(55, 75%, 34%)
HSVhsv(55, 86%, 60%)
CMYKcmyk(0%, 6.5%, 85.6%, 40%)
CIE-LABlab(58.49, -9.01, 58.50)
CIE-LCHlch(58.49, 59.19, 98.75°)
OKLaboklab(63.91% -0.0319 0.1254)
OKLCHoklch(63.91% 0.129 104.3)
XYZxyz(23.1052, 26.4761, 4.6523)
Luminance0.2647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F16 #162099
analogous
#994E16 #998F16 #629916
triadic
#998F16 #16998F #8F1699
tetradic
#998F16 #16994E #162099 #991662
square
#998F16 #16994E #162099 #991662
split-complementary
#998F16 #166299 #4E1699
monochromatic
#2E2B07 #635D0E #998F16 #CFC11E #E4D845

Accessibility & contrast

On white

3.34
#998F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#998F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F16
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F16#FFFFFF#000000##000000
##998F161.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A08F22
Tritanopia (blue-blind)
#A5847A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f16;
/* rgb */ color: rgb(153, 143, 22);
/* oklch */ color: oklch(63.9% 0.129 104.3);
Tailwind
colors: {
  custom: {
    50: '#bbaf62',
    500: '#998f16',
    950: '#000000',
  },
}
SCSS
$custom: #998f16;
$custom-light: #bbaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#998f16",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 55.42,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63905,
    "c": 0.12938,
    "h": 104.3
  },
  "luminance": 0.26475
}

Semantic roles & 50–950 ramp

primary
#998F16
secondary
#464FC5
accent
#45F136
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998F16

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

Preview Lab → · Contrast checker → · Palette generator →

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