#998F2C#998F2C

#998F2C 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#998F2C
RGBrgb(153, 143, 44)
HSLhsl(54, 55%, 39%)
HSVhsv(54, 71%, 60%)
CMYKcmyk(0%, 6.5%, 71.2%, 40%)
CIE-LABlab(58.60, -8.12, 51.34)
CIE-LCHlch(58.60, 51.98, 98.99°)
OKLaboklab(64.03% -0.0274 0.1143)
OKLCHoklch(64.03% 0.118 103.5)
XYZxyz(23.4149, 26.6000, 6.2833)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F2C #2C3699
analogous
#99582C #998F2C #6C992C
triadic
#998F2C #2C998F #8F2C99
tetradic
#998F2C #2C9958 #2C3699 #992C6C
square
#998F2C #2C9958 #2C3699 #992C6C
split-complementary
#998F2C #2C6C99 #582C99
monochromatic
#3A3611 #69631E #998F2C #C7BA3B #D4CB6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F2C#FFFFFF#000000##000000
##998F2C1.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)
#9C8A1D
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f2c;
/* rgb */ color: rgb(153, 143, 44);
/* oklch */ color: oklch(64.0% 0.118 103.5);
Tailwind
colors: {
  custom: {
    50: '#baaf6c',
    500: '#998f2c',
    950: '#000000',
  },
}
SCSS
$custom: #998f2c;
$custom-light: #baaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#998f2c",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 54.495,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64034,
    "c": 0.11758,
    "h": 103.5
  },
  "luminance": 0.26599
}

Semantic roles & 50–950 ramp

primary
#998F2C
secondary
#666DBB
accent
#57DF49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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