#998F35#998F35

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

Color values

HEX#998F35
RGBrgb(153, 143, 53)
HSLhsl(54, 49%, 40%)
HSVhsv(54, 65%, 60%)
CMYKcmyk(0%, 6.5%, 65.4%, 40%)
CIE-LABlab(58.67, -7.59, 47.60)
CIE-LCHlch(58.67, 48.20, 99.06°)
OKLaboklab(64.11% -0.0249 0.108)
OKLCHoklch(64.11% 0.111 103)
XYZxyz(23.6029, 26.6752, 7.2730)
Luminance0.2667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F35 #353F99
analogous
#995D35 #998F35 #719935
triadic
#998F35 #35998F #8F3599
tetradic
#998F35 #35995D #353F99 #993571
square
#998F35 #35995D #353F99 #993571
split-complementary
#998F35 #357199 #5D3599
monochromatic
#3E3A16 #6C6525 #998F35 #C1B54B #D0C778

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F35#FFFFFF#000000##000000
##998F351.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)
#9C8A2A
Deuteranopia (green-blind)
#9F8F3A
Tritanopia (blue-blind)
#A4857C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f35;
/* rgb */ color: rgb(153, 143, 53);
/* oklch */ color: oklch(64.1% 0.111 103.0);
Tailwind
colors: {
  custom: {
    50: '#baaf71',
    500: '#998f35',
    950: '#000000',
  },
}
SCSS
$custom: #998f35;
$custom-light: #baaf71;
$custom-dark: #000000;
JSON
{
  "hex": "#998f35",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 53
  },
  "hsl": {
    "h": 54,
    "s": 48.544,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64112,
    "c": 0.11082,
    "h": 103
  },
  "luminance": 0.26674
}

Semantic roles & 50–950 ramp

primary
#998F35
secondary
#7178B9
accent
#5DD850
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #998F35

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

Preview Lab → · Contrast checker → · Palette generator →

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