#998C2A#998C2A

#998C2A is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.116 H 101.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#998C2A
RGBrgb(153, 140, 42)
HSLhsl(53, 57%, 38%)
HSVhsv(53, 73%, 60%)
CMYKcmyk(0%, 8.5%, 72.5%, 40%)
CIE-LABlab(57.75, -6.60, 51.29)
CIE-LCHlch(57.75, 51.71, 97.33°)
OKLaboklab(63.35% -0.0233 0.1139)
OKLCHoklch(63.35% 0.116 101.6)
XYZxyz(22.9339, 25.6966, 5.9420)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998C2A #2A3799
analogous
#99542A #998C2A #6E992A
triadic
#998C2A #2A998C #8C2A99
tetradic
#998C2A #2A9954 #2A3799 #992A6E
square
#998C2A #2A9954 #2A3799 #992A6E
split-complementary
#998C2A #2A6E99 #542A99
monochromatic
#393410 #69601D #998C2A #C8B738 #D6C968

Accessibility & contrast

On white

3.42
#998C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#998C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998C2A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998C2A#FFFFFF#000000##000000
##998C2A1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881A
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#A58279
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998c2a;
/* rgb */ color: rgb(153, 140, 42);
/* oklch */ color: oklch(63.4% 0.116 101.6);
Tailwind
colors: {
  custom: {
    50: '#baad6a',
    500: '#998c2a',
    950: '#000000',
  },
}
SCSS
$custom: #998c2a;
$custom-light: #baad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#998c2a",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 52.973,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63351,
    "c": 0.11623,
    "h": 101.6
  },
  "luminance": 0.25696
}

Semantic roles & 50–950 ramp

primary
#998C2A
secondary
#636DBC
accent
#59E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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