#998E16#998E16

#998E16 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.129 H 103.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#998E16
RGBrgb(153, 142, 22)
HSLhsl(55, 75%, 34%)
HSVhsv(55, 86%, 60%)
CMYKcmyk(0%, 7.2%, 85.6%, 40%)
CIE-LABlab(58.20, -8.47, 58.27)
CIE-LCHlch(58.20, 58.88, 98.27°)
OKLaboklab(63.68% -0.0304 0.1249)
OKLCHoklch(63.68% 0.129 103.7)
XYZxyz(22.9558, 26.1772, 4.6024)
Luminance0.2618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E16 #162199
analogous
#994D16 #998E16 #639916
triadic
#998E16 #16998E #8E1699
tetradic
#998E16 #16994D #162199 #991663
square
#998E16 #16994D #162199 #991663
split-complementary
#998E16 #166399 #4D1699
monochromatic
#2E2B07 #635C0E #998E16 #CFC01E #E4D745

Accessibility & contrast

On white

3.37
#998E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#998E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998E16
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998E16#FFFFFF#000000##000000
##998E161.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9F8E22
Tritanopia (blue-blind)
#A58379
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998e16;
/* rgb */ color: rgb(153, 142, 22);
/* oklch */ color: oklch(63.7% 0.129 103.7);
Tailwind
colors: {
  custom: {
    50: '#bbae62',
    500: '#998e16',
    950: '#000000',
  },
}
SCSS
$custom: #998e16;
$custom-light: #bbae62;
$custom-dark: #000000;
JSON
{
  "hex": "#998e16",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 54.962,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63681,
    "c": 0.12853,
    "h": 103.7
  },
  "luminance": 0.26176
}

Semantic roles & 50–950 ramp

primary
#998E16
secondary
#4650C5
accent
#46F136
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998E16

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

Preview Lab → · Contrast checker → · Palette generator →

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