#998D33#998D33

#998D33 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.111 H 101.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#998D33
RGBrgb(153, 141, 51)
HSLhsl(53, 50%, 40%)
HSVhsv(53, 67%, 60%)
CMYKcmyk(0%, 7.8%, 66.7%, 40%)
CIE-LABlab(58.10, -6.63, 47.87)
CIE-LCHlch(58.10, 48.33, 97.89°)
OKLaboklab(63.65% -0.0224 0.1083)
OKLCHoklch(63.65% 0.111 101.7)
XYZxyz(23.2602, 26.0620, 6.9366)
Luminance0.2606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D33 #333F99
analogous
#995A33 #998D33 #729933
triadic
#998D33 #33998D #8D3399
tetradic
#998D33 #33995A #333F99 #993372
square
#998D33 #33995A #333F99 #993372
split-complementary
#998D33 #337299 #5A3399
monochromatic
#3D3814 #6B6324 #998D33 #C2B347 #D1C675

Accessibility & contrast

On white

3.38
#998D33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#998D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D33
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D33#FFFFFF#000000##000000
##998D331.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8928
Deuteranopia (green-blind)
#9D8E38
Tritanopia (blue-blind)
#A4837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d33;
/* rgb */ color: rgb(153, 141, 51);
/* oklch */ color: oklch(63.6% 0.111 101.7);
Tailwind
colors: {
  custom: {
    50: '#baae6f',
    500: '#998d33',
    950: '#000000',
  },
}
SCSS
$custom: #998d33;
$custom-light: #baae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#998d33",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 52.941,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.63649,
    "c": 0.11054,
    "h": 101.7
  },
  "luminance": 0.26061
}

Semantic roles & 50–950 ramp

primary
#998D33
secondary
#6E77B9
accent
#5FDA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #998D33

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

Preview Lab → · Contrast checker → · Palette generator →

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