#998F2E#998F2E

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

Color values

HEX#998F2E
RGBrgb(153, 143, 46)
HSLhsl(54, 54%, 39%)
HSVhsv(54, 70%, 60%)
CMYKcmyk(0%, 6.5%, 69.9%, 40%)
CIE-LABlab(58.62, -8.01, 50.54)
CIE-LCHlch(58.62, 51.17, 99.01°)
OKLaboklab(64.05% -0.0269 0.113)
OKLCHoklch(64.05% 0.116 103.4)
XYZxyz(23.4534, 26.6154, 6.4861)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F2E #2E3899
analogous
#995A2E #998F2E #6E992E
triadic
#998F2E #2E998F #8F2E99
tetradic
#998F2E #2E995A #2E3899 #992E6E
square
#998F2E #2E995A #2E3899 #992E6E
split-complementary
#998F2E #2E6E99 #5A2E99
monochromatic
#3B3712 #6A6320 #998F2E #C5B93F #D3CA6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F2E#FFFFFF#000000##000000
##998F2E1.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)
#9C8A20
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f2e;
/* rgb */ color: rgb(153, 143, 46);
/* oklch */ color: oklch(64.0% 0.116 103.4);
Tailwind
colors: {
  custom: {
    50: '#baaf6d',
    500: '#998f2e',
    950: '#000000',
  },
}
SCSS
$custom: #998f2e;
$custom-light: #baaf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#998f2e",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 54.393,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6405,
    "c": 0.11617,
    "h": 103.4
  },
  "luminance": 0.26614
}

Semantic roles & 50–950 ramp

primary
#998F2E
secondary
#6870BB
accent
#58DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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