#998F2B#998F2B

#998F2B is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.118 H 103.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#998F2B
RGBrgb(153, 143, 43)
HSLhsl(55, 56%, 38%)
HSVhsv(55, 72%, 60%)
CMYKcmyk(0%, 6.5%, 71.9%, 40%)
CIE-LABlab(58.60, -8.17, 51.73)
CIE-LCHlch(58.60, 52.37, 98.98°)
OKLaboklab(64.03% -0.0277 0.115)
OKLCHoklch(64.03% 0.118 103.5)
XYZxyz(23.3964, 26.5926, 6.1855)
Luminance0.2659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F2B #2B3599
analogous
#99582B #998F2B #6C992B
triadic
#998F2B #2B998F #8F2B99
tetradic
#998F2B #2B9958 #2B3599 #992B6C
square
#998F2B #2B9958 #2B3599 #992B6C
split-complementary
#998F2B #2B6C99 #582B99
monochromatic
#393610 #69621E #998F2B #C8BB3A #D5CB69

Accessibility & contrast

On white

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

On black

6.32
#998F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F2B
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F2B#FFFFFF#000000##000000
##998F2B1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1B
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f2b;
/* rgb */ color: rgb(153, 143, 43);
/* oklch */ color: oklch(64.0% 0.118 103.5);
Tailwind
colors: {
  custom: {
    50: '#baaf6b',
    500: '#998f2b',
    950: '#000000',
  },
}
SCSS
$custom: #998f2b;
$custom-light: #baaf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#998f2b",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 54.545,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64026,
    "c": 0.11826,
    "h": 103.5
  },
  "luminance": 0.26592
}

Semantic roles & 50–950 ramp

primary
#998F2B
secondary
#646CBC
accent
#56DF48
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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