#988D2E#988D2E

#988D2E is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.114 H 102.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#988D2E
RGBrgb(152, 141, 46)
HSLhsl(54, 54%, 39%)
HSVhsv(54, 70%, 60%)
CMYKcmyk(0%, 7.2%, 69.7%, 40.4%)
CIE-LABlab(57.96, -7.38, 49.85)
CIE-LCHlch(57.96, 50.39, 98.42°)
OKLaboklab(63.51% -0.025 0.1116)
OKLCHoklch(63.51% 0.114 102.6)
XYZxyz(22.9679, 25.9234, 6.3781)
Luminance0.2592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988D2E #2E3998
analogous
#98582E #988D2E #6E982E
triadic
#988D2E #2E988D #8D2E98
tetradic
#988D2E #2E9858 #2E3998 #982E6E
square
#988D2E #2E9858 #2E3998 #982E6E
split-complementary
#988D2E #2E6E98 #582E98
monochromatic
#3A3612 #696120 #988D2E #C5B73E #D3C86D

Accessibility & contrast

On white

3.40
#988D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#988D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988D2E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988D2E#FFFFFF#000000##000000
##988D2E1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8820
Deuteranopia (green-blind)
#9D8D34
Tritanopia (blue-blind)
#A4837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #988d2e;
/* rgb */ color: rgb(152, 141, 46);
/* oklch */ color: oklch(63.5% 0.114 102.6);
Tailwind
colors: {
  custom: {
    50: '#b9ae6d',
    500: '#988d2e',
    950: '#000000',
  },
}
SCSS
$custom: #988d2e;
$custom-light: #b9ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#988d2e",
  "rgb": {
    "r": 152,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 53.774,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6351,
    "c": 0.11437,
    "h": 102.6
  },
  "luminance": 0.25922
}

Semantic roles & 50–950 ramp

primary
#988D2E
secondary
#6870BA
accent
#5ADD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #988D2E

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

Preview Lab → · Contrast checker → · Palette generator →

#988D2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva