#988036#988036

#988036 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.097 H 91.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#988036
RGBrgb(152, 128, 54)
HSLhsl(45, 48%, 40%)
HSVhsv(45, 64%, 60%)
CMYKcmyk(0%, 15.8%, 64.5%, 40.4%)
CIE-LABlab(54.43, 0.30, 42.53)
CIE-LCHlch(54.43, 42.53, 89.60°)
OKLaboklab(60.73% -0.0021 0.0974)
OKLCHoklch(60.73% 0.097 91.2)
XYZxyz(21.3349, 22.3812, 6.6856)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988036 #364E98
analogous
#984F36 #988036 #7F9836
triadic
#988036 #369880 #803698
tetradic
#988036 #36984F #364E98 #98367F
square
#988036 #36984F #364E98 #98367F
split-complementary
#988036 #367F98 #4F3698
monochromatic
#3E3416 #6B5A26 #988036 #BFA34C #CFBA79

Accessibility & contrast

On white

3.83
#988036 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#988036 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988036
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988036#FFFFFF#000000##000000
##9880361.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2E
Deuteranopia (green-blind)
#938539
Tritanopia (blue-blind)
#A47670
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #988036;
/* rgb */ color: rgb(152, 128, 54);
/* oklch */ color: oklch(60.7% 0.097 91.2);
Tailwind
colors: {
  custom: {
    50: '#b9a470',
    500: '#988036',
    950: '#000000',
  },
}
SCSS
$custom: #988036;
$custom-light: #b9a470;
$custom-dark: #000000;
JSON
{
  "hex": "#988036",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 54
  },
  "hsl": {
    "h": 45.306,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60732,
    "c": 0.09743,
    "h": 91.2
  },
  "luminance": 0.2238
}

Semantic roles & 50–950 ramp

primary
#988036
secondary
#7283B8
accent
#72D751
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #988036

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

Preview Lab → · Contrast checker → · Palette generator →

#988036 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva