#998F33#998F33

#998F33 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.112 H 103.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#998F33
RGBrgb(153, 143, 51)
HSLhsl(54, 50%, 40%)
HSVhsv(54, 67%, 60%)
CMYKcmyk(0%, 6.5%, 66.7%, 40%)
CIE-LABlab(58.66, -7.72, 48.46)
CIE-LCHlch(58.66, 49.07, 99.05°)
OKLaboklab(64.09% -0.0255 0.1095)
OKLCHoklch(64.09% 0.112 103.1)
XYZxyz(23.5578, 26.6572, 7.0358)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F33 #333D99
analogous
#995C33 #998F33 #709933
triadic
#998F33 #33998F #8F3399
tetradic
#998F33 #33995C #333D99 #993370
square
#998F33 #33995C #333D99 #993370
split-complementary
#998F33 #337099 #5C3399
monochromatic
#3D3914 #6B6424 #998F33 #C2B647 #D1C875

Accessibility & contrast

On white

3.32
#998F33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#998F33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F33
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F33#FFFFFF#000000##000000
##998F331.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A27
Deuteranopia (green-blind)
#9F8F38
Tritanopia (blue-blind)
#A4857C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f33;
/* rgb */ color: rgb(153, 143, 51);
/* oklch */ color: oklch(64.1% 0.112 103.1);
Tailwind
colors: {
  custom: {
    50: '#baaf70',
    500: '#998f33',
    950: '#000000',
  },
}
SCSS
$custom: #998f33;
$custom-light: #baaf70;
$custom-dark: #000000;
JSON
{
  "hex": "#998f33",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 51
  },
  "hsl": {
    "h": 54.118,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.64094,
    "c": 0.11241,
    "h": 103.1
  },
  "luminance": 0.26656
}

Semantic roles & 50–950 ramp

primary
#998F33
secondary
#6E76B9
accent
#5CDA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #998F33

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

Preview Lab → · Contrast checker → · Palette generator →

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