#998A2E#998A2E

#998A2E is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.9% C 0.112 H 99.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#998A2E
RGBrgb(153, 138, 46)
HSLhsl(52, 54%, 39%)
HSVhsv(52, 70%, 60%)
CMYKcmyk(0%, 9.8%, 69.9%, 40%)
CIE-LABlab(57.22, -5.29, 49.12)
CIE-LCHlch(57.22, 49.41, 96.15°)
OKLaboklab(62.94% -0.0192 0.11)
OKLCHoklch(62.94% 0.112 99.9)
XYZxyz(22.7195, 25.1476, 6.2415)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998A2E #2E3D99
analogous
#99552E #998A2E #73992E
triadic
#998A2E #2E998A #8A2E99
tetradic
#998A2E #2E9955 #2E3D99 #992E73
square
#998A2E #2E9955 #2E3D99 #992E73
split-complementary
#998A2E #2E7399 #552E99
monochromatic
#3B3512 #6A6020 #998A2E #C5B23F #D3C56E

Accessibility & contrast

On white

3.48
#998A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#998A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998A2E
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998A2E#FFFFFF#000000##000000
##998A2E1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#9B8C33
Tritanopia (blue-blind)
#A58077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #998a2e;
/* rgb */ color: rgb(153, 138, 46);
/* oklch */ color: oklch(62.9% 0.112 99.9);
Tailwind
colors: {
  custom: {
    50: '#baab6c',
    500: '#998a2e',
    950: '#000000',
  },
}
SCSS
$custom: #998a2e;
$custom-light: #baab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#998a2e",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 51.589,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6294,
    "c": 0.11169,
    "h": 99.9
  },
  "luminance": 0.25147
}

Semantic roles & 50–950 ramp

primary
#998A2E
secondary
#6874BB
accent
#5FDD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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