#998F2D#998F2D

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

Color values

HEX#998F2D
RGBrgb(153, 143, 45)
HSLhsl(54, 55%, 39%)
HSVhsv(54, 71%, 60%)
CMYKcmyk(0%, 6.5%, 70.6%, 40%)
CIE-LABlab(58.61, -8.07, 50.94)
CIE-LCHlch(58.61, 51.58, 99.00°)
OKLaboklab(64.04% -0.0271 0.1137)
OKLCHoklch(64.04% 0.117 103.4)
XYZxyz(23.4340, 26.6076, 6.3835)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F2D #2D3799
analogous
#99592D #998F2D #6D992D
triadic
#998F2D #2D998F #8F2D99
tetradic
#998F2D #2D9959 #2D3799 #992D6D
square
#998F2D #2D9959 #2D3799 #992D6D
split-complementary
#998F2D #2D6D99 #592D99
monochromatic
#3A3711 #6A631F #998F2D #C6B93D #D4CA6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F2D#FFFFFF#000000##000000
##998F2D1.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)
#9C8A1E
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f2d;
/* rgb */ color: rgb(153, 143, 45);
/* oklch */ color: oklch(64.0% 0.117 103.4);
Tailwind
colors: {
  custom: {
    50: '#baaf6c',
    500: '#998f2d',
    950: '#000000',
  },
}
SCSS
$custom: #998f2d;
$custom-light: #baaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#998f2d",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 54.444,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64042,
    "c": 0.11688,
    "h": 103.4
  },
  "luminance": 0.26607
}

Semantic roles & 50–950 ramp

primary
#998F2D
secondary
#676FBB
accent
#58DE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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