#998334#998334

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

Color values

HEX#998334
RGBrgb(153, 131, 52)
HSLhsl(47, 49%, 40%)
HSVhsv(47, 66%, 60%)
CMYKcmyk(0%, 14.4%, 66%, 40%)
CIE-LABlab(55.33, -1.06, 44.49)
CIE-LCHlch(55.33, 44.50, 91.37°)
OKLaboklab(61.46% -0.0063 0.1012)
OKLCHoklch(61.46% 0.101 93.6)
XYZxyz(21.8740, 23.2540, 6.5845)
Luminance0.2325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998334 #344A99
analogous
#995134 #998334 #7C9934
triadic
#998334 #349983 #833499
tetradic
#998334 #349951 #344A99 #99347C
square
#998334 #349951 #344A99 #99347C
split-complementary
#998334 #347C99 #513499
monochromatic
#3E3515 #6B5C24 #998334 #C1A749 #D1BD77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998334#FFFFFF#000000##000000
##9983341.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)
#90812B
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#A57972
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #998334;
/* rgb */ color: rgb(153, 131, 52);
/* oklch */ color: oklch(61.5% 0.101 93.6);
Tailwind
colors: {
  custom: {
    50: '#baa66f',
    500: '#998334',
    950: '#000000',
  },
}
SCSS
$custom: #998334;
$custom-light: #baa66f;
$custom-dark: #000000;
JSON
{
  "hex": "#998334",
  "rgb": {
    "r": 153,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 46.931,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61463,
    "c": 0.10143,
    "h": 93.6
  },
  "luminance": 0.23253
}

Semantic roles & 50–950 ramp

primary
#998334
secondary
#7080B9
accent
#6DD94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #998334

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

Preview Lab → · Contrast checker → · Palette generator →

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