#988926#988926

#988926 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.6% C 0.116 H 100.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#988926
RGBrgb(152, 137, 38)
HSLhsl(52, 60%, 37%)
HSVhsv(52, 75%, 60%)
CMYKcmyk(0%, 9.9%, 75%, 40.4%)
CIE-LABlab(56.79, -5.62, 51.88)
CIE-LCHlch(56.79, 52.18, 96.18°)
OKLaboklab(62.56% -0.0209 0.1144)
OKLCHoklch(62.56% 0.116 100.4)
XYZxyz(22.2455, 24.7077, 5.4307)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988926 #263598
analogous
#985026 #988926 #6E9826
triadic
#988926 #269889 #892698
tetradic
#988926 #269850 #263598 #98266E
square
#988926 #269850 #263598 #98266E
split-complementary
#988926 #266E98 #502698
monochromatic
#36310E #675D1A #988926 #C9B532 #D7C861

Accessibility & contrast

On white

3.53
#988926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#988926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988926
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988926#FFFFFF#000000##000000
##9889261.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968514
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#A47F76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #988926;
/* rgb */ color: rgb(152, 137, 38);
/* oklch */ color: oklch(62.6% 0.116 100.4);
Tailwind
colors: {
  custom: {
    50: '#baab68',
    500: '#988926',
    950: '#000000',
  },
}
SCSS
$custom: #988926;
$custom-light: #baab68;
$custom-dark: #000000;
JSON
{
  "hex": "#988926",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 52.105,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62559,
    "c": 0.11628,
    "h": 100.4
  },
  "luminance": 0.24707
}

Semantic roles & 50–950 ramp

primary
#988926
secondary
#5D6ABD
accent
#5AE345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988926

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

Preview Lab → · Contrast checker → · Palette generator →

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