#988E2C#988E2C

#988E2C is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.117 H 103.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#988E2C
RGBrgb(152, 142, 44)
HSLhsl(54, 55%, 38%)
HSVhsv(54, 71%, 60%)
CMYKcmyk(0%, 6.6%, 71.1%, 40.4%)
CIE-LABlab(58.23, -8.03, 50.94)
CIE-LCHlch(58.23, 51.57, 98.96°)
OKLaboklab(63.72% -0.0271 0.1135)
OKLCHoklch(63.72% 0.117 103.4)
XYZxyz(23.0775, 26.2042, 6.2247)
Luminance0.2620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988E2C #2C3698
analogous
#98582C #988E2C #6C982C
triadic
#988E2C #2C988E #8E2C98
tetradic
#988E2C #2C9858 #2C3698 #982C6C
square
#988E2C #2C9858 #2C3698 #982C6C
split-complementary
#988E2C #2C6C98 #582C98
monochromatic
#393511 #69621E #988E2C #C6B93B #D4CA6A

Accessibility & contrast

On white

3.37
#988E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#988E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988E2C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988E2C#FFFFFF#000000##000000
##988E2C1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891D
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#A4847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #988e2c;
/* rgb */ color: rgb(152, 142, 44);
/* oklch */ color: oklch(63.7% 0.117 103.4);
Tailwind
colors: {
  custom: {
    50: '#b9ae6c',
    500: '#988e2c',
    950: '#000000',
  },
}
SCSS
$custom: #988e2c;
$custom-light: #b9ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#988e2c",
  "rgb": {
    "r": 152,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 54.444,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63717,
    "c": 0.11672,
    "h": 103.4
  },
  "luminance": 0.26203
}

Semantic roles & 50–950 ramp

primary
#988E2C
secondary
#656DBB
accent
#57DE49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #988E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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