#998C2B#998C2B

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

Color values

HEX#998C2B
RGBrgb(153, 140, 43)
HSLhsl(53, 56%, 38%)
HSVhsv(53, 72%, 60%)
CMYKcmyk(0%, 8.5%, 71.9%, 40%)
CIE-LABlab(57.75, -6.55, 50.90)
CIE-LCHlch(57.75, 51.32, 97.33°)
OKLaboklab(63.36% -0.0231 0.1132)
OKLCHoklch(63.36% 0.116 101.5)
XYZxyz(22.9520, 25.7039, 6.0374)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998C2B #2B3899
analogous
#99552B #998C2B #6F992B
triadic
#998C2B #2B998C #8C2B99
tetradic
#998C2B #2B9955 #2B3899 #992B6F
square
#998C2B #2B9955 #2B3899 #992B6F
split-complementary
#998C2B #2B6F99 #552B99
monochromatic
#393510 #69601E #998C2B #C8B73A #D5C869

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998C2B#FFFFFF#000000##000000
##998C2B1.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)
#99881C
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#A58279
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998c2b;
/* rgb */ color: rgb(153, 140, 43);
/* oklch */ color: oklch(63.4% 0.116 101.5);
Tailwind
colors: {
  custom: {
    50: '#baad6b',
    500: '#998c2b',
    950: '#000000',
  },
}
SCSS
$custom: #998c2b;
$custom-light: #baad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#998c2b",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 52.909,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63359,
    "c": 0.11555,
    "h": 101.5
  },
  "luminance": 0.25703
}

Semantic roles & 50–950 ramp

primary
#998C2B
secondary
#646FBC
accent
#5ADF48
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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