#998D28#998D28

#998D28 is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.118 H 102.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#998D28
RGBrgb(153, 141, 40)
HSLhsl(54, 59%, 38%)
HSVhsv(54, 74%, 60%)
CMYKcmyk(0%, 7.8%, 73.9%, 40%)
CIE-LABlab(58.01, -7.24, 52.33)
CIE-LCHlch(58.01, 52.83, 97.88°)
OKLaboklab(63.56% -0.0254 0.1157)
OKLCHoklch(63.56% 0.118 102.4)
XYZxyz(23.0458, 25.9763, 5.8071)
Luminance0.2597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D28 #283499
analogous
#995428 #998D28 #6D9928
triadic
#998D28 #28998D #8D2899
tetradic
#998D28 #289954 #283499 #99286D
square
#998D28 #289954 #283499 #99286D
split-complementary
#998D28 #286D99 #542899
monochromatic
#38340F #68601B #998D28 #CABA35 #D7CB65

Accessibility & contrast

On white

3.39
#998D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#998D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D28
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D28#FFFFFF#000000##000000
##998D281.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8816
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#A58379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d28;
/* rgb */ color: rgb(153, 141, 40);
/* oklch */ color: oklch(63.6% 0.118 102.4);
Tailwind
colors: {
  custom: {
    50: '#baae69',
    500: '#998d28',
    950: '#000000',
  },
}
SCSS
$custom: #998d28;
$custom-light: #baae69;
$custom-dark: #000000;
JSON
{
  "hex": "#998d28",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 53.628,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63558,
    "c": 0.11844,
    "h": 102.4
  },
  "luminance": 0.25975
}

Semantic roles & 50–950 ramp

primary
#998D28
secondary
#606ABD
accent
#57E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998D28

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

Preview Lab → · Contrast checker → · Palette generator →

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