#988E2E#988E2E

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

Color values

HEX#988E2E
RGBrgb(152, 142, 46)
HSLhsl(54, 54%, 39%)
HSVhsv(54, 70%, 60%)
CMYKcmyk(0%, 6.6%, 69.7%, 40.4%)
CIE-LABlab(58.24, -7.92, 50.13)
CIE-LCHlch(58.24, 50.76, 98.98°)
OKLaboklab(63.73% -0.0266 0.1122)
OKLCHoklch(63.73% 0.115 103.3)
XYZxyz(23.1160, 26.2196, 6.4275)
Luminance0.2622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988E2E #2E3898
analogous
#98592E #988E2E #6D982E
triadic
#988E2E #2E988E #8E2E98
tetradic
#988E2E #2E9859 #2E3898 #982E6D
square
#988E2E #2E9859 #2E3898 #982E6D
split-complementary
#988E2E #2E6D98 #592E98
monochromatic
#3A3612 #696220 #988E2E #C5B83E #D3C96D

Accessibility & contrast

On white

3.36
#988E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##988E2E#FFFFFF#000000##000000
##988E2E1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8920
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#A3847B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #988e2e;
/* rgb */ color: rgb(152, 142, 46);
/* oklch */ color: oklch(63.7% 0.115 103.3);
Tailwind
colors: {
  custom: {
    50: '#b9ae6d',
    500: '#988e2e',
    950: '#000000',
  },
}
SCSS
$custom: #988e2e;
$custom-light: #b9ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#988e2e",
  "rgb": {
    "r": 152,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 54.34,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63733,
    "c": 0.1153,
    "h": 103.3
  },
  "luminance": 0.26219
}

Semantic roles & 50–950 ramp

primary
#988E2E
secondary
#686FBA
accent
#59DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #988E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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