#998B33#998B33

#998B33 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.109 H 100.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#998B33
RGBrgb(153, 139, 51)
HSLhsl(52, 50%, 40%)
HSVhsv(52, 67%, 60%)
CMYKcmyk(0%, 9.2%, 66.7%, 40%)
CIE-LABlab(57.54, -5.54, 47.29)
CIE-LCHlch(57.54, 47.61, 96.68°)
OKLaboklab(63.21% -0.0193 0.107)
OKLCHoklch(63.21% 0.109 100.2)
XYZxyz(22.9680, 25.4776, 6.8392)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B33 #334199
analogous
#995833 #998B33 #749933
triadic
#998B33 #33998B #8B3399
tetradic
#998B33 #339958 #334199 #993374
square
#998B33 #339958 #334199 #993374
split-complementary
#998B33 #337499 #583399
monochromatic
#3D3814 #6B6124 #998B33 #C2B147 #D1C575

Accessibility & contrast

On white

3.45
#998B33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#998B33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B33
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B33#FFFFFF#000000##000000
##998B331.003.456.106.10
#FFFFFF3.451.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988728
Deuteranopia (green-blind)
#9C8D38
Tritanopia (blue-blind)
#A58179
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b33;
/* rgb */ color: rgb(153, 139, 51);
/* oklch */ color: oklch(63.2% 0.109 100.2);
Tailwind
colors: {
  custom: {
    50: '#baac6f',
    500: '#998b33',
    950: '#000000',
  },
}
SCSS
$custom: #998b33;
$custom-light: #baac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#998b33",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 51
  },
  "hsl": {
    "h": 51.765,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.63206,
    "c": 0.10873,
    "h": 100.2
  },
  "luminance": 0.25477
}

Semantic roles & 50–950 ramp

primary
#998B33
secondary
#6E79B9
accent
#61DA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #998B33

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

Preview Lab → · Contrast checker → · Palette generator →

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