#998F28#998F28

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

Color values

HEX#998F28
RGBrgb(153, 143, 40)
HSLhsl(55, 59%, 38%)
HSVhsv(55, 74%, 60%)
CMYKcmyk(0%, 6.5%, 73.9%, 40%)
CIE-LABlab(58.58, -8.33, 52.87)
CIE-LCHlch(58.58, 53.52, 98.95°)
OKLaboklab(64% -0.0284 0.1168)
OKLCHoklch(64% 0.12 103.7)
XYZxyz(23.3433, 26.5714, 5.9063)
Luminance0.2657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F28 #283299
analogous
#995628 #998F28 #6B9928
triadic
#998F28 #28998F #8F2899
tetradic
#998F28 #289956 #283299 #99286B
square
#998F28 #289956 #283299 #99286B
split-complementary
#998F28 #286B99 #562899
monochromatic
#38340F #68621B #998F28 #CABC35 #D7CD65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F28#FFFFFF#000000##000000
##998F281.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)
#9C8A16
Deuteranopia (green-blind)
#9F8F2F
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f28;
/* rgb */ color: rgb(153, 143, 40);
/* oklch */ color: oklch(64.0% 0.120 103.7);
Tailwind
colors: {
  custom: {
    50: '#baaf6a',
    500: '#998f28',
    950: '#000000',
  },
}
SCSS
$custom: #998f28;
$custom-light: #baaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#998f28",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 54.69,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64004,
    "c": 0.12023,
    "h": 103.7
  },
  "luminance": 0.2657
}

Semantic roles & 50–950 ramp

primary
#998F28
secondary
#6068BD
accent
#54E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998F28

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

Preview Lab → · Contrast checker → · Palette generator →

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