#998333#998333

#998333 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.5% C 0.102 H 93.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#998333
RGBrgb(153, 131, 51)
HSLhsl(47, 50%, 40%)
HSVhsv(47, 67%, 60%)
CMYKcmyk(0%, 14.4%, 66.7%, 40%)
CIE-LABlab(55.32, -1.13, 44.94)
CIE-LCHlch(55.32, 44.95, 91.44°)
OKLaboklab(61.45% -0.0066 0.102)
OKLCHoklch(61.45% 0.102 93.7)
XYZxyz(21.8518, 23.2451, 6.4671)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998333 #334999
analogous
#995033 #998333 #7C9933
triadic
#998333 #339983 #833399
tetradic
#998333 #339950 #334999 #99337C
square
#998333 #339950 #334999 #99337C
split-complementary
#998333 #337C99 #503399
monochromatic
#3D3414 #6B5C24 #998333 #C2A747 #D1BD75

Accessibility & contrast

On white

3.72
#998333 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#998333 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998333
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998333#FFFFFF#000000##000000
##9983331.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812A
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#A57972
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #998333;
/* rgb */ color: rgb(153, 131, 51);
/* oklch */ color: oklch(61.5% 0.102 93.7);
Tailwind
colors: {
  custom: {
    50: '#baa66f',
    500: '#998333',
    950: '#000000',
  },
}
SCSS
$custom: #998333;
$custom-light: #baa66f;
$custom-dark: #000000;
JSON
{
  "hex": "#998333",
  "rgb": {
    "r": 153,
    "g": 131,
    "b": 51
  },
  "hsl": {
    "h": 47.059,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.61453,
    "c": 0.10225,
    "h": 93.7
  },
  "luminance": 0.23244
}

Semantic roles & 50–950 ramp

primary
#998333
secondary
#6E7FB9
accent
#6CDA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #998333

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

Preview Lab → · Contrast checker → · Palette generator →

#998333 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva