#998733#998733

#998733 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.105 H 97.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#998733
RGBrgb(153, 135, 51)
HSLhsl(49, 50%, 40%)
HSVhsv(49, 67%, 60%)
CMYKcmyk(0%, 11.8%, 66.7%, 40%)
CIE-LABlab(56.43, -3.34, 46.11)
CIE-LCHlch(56.43, 46.23, 94.15°)
OKLaboklab(62.33% -0.013 0.1045)
OKLCHoklch(62.33% 0.105 97.1)
XYZxyz(22.3994, 24.3403, 6.6496)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998733 #334599
analogous
#995433 #998733 #789933
triadic
#998733 #339987 #873399
tetradic
#998733 #339954 #334599 #993378
square
#998733 #339954 #334599 #993378
split-complementary
#998733 #337899 #543399
monochromatic
#3D3614 #6B5F24 #998733 #C2AC47 #D1C175

Accessibility & contrast

On white

3.58
#998733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#998733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998733
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998733#FFFFFF#000000##000000
##9987331.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948429
Deuteranopia (green-blind)
#998A37
Tritanopia (blue-blind)
#A57D75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998733;
/* rgb */ color: rgb(153, 135, 51);
/* oklch */ color: oklch(62.3% 0.105 97.1);
Tailwind
colors: {
  custom: {
    50: '#baa96f',
    500: '#998733',
    950: '#000000',
  },
}
SCSS
$custom: #998733;
$custom-light: #baa96f;
$custom-dark: #000000;
JSON
{
  "hex": "#998733",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 51
  },
  "hsl": {
    "h": 49.412,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.62326,
    "c": 0.10533,
    "h": 97.1
  },
  "luminance": 0.24339
}

Semantic roles & 50–950 ramp

primary
#998733
secondary
#6E7CB9
accent
#67DA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #998733

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

Preview Lab → · Contrast checker → · Palette generator →

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