#988927#988927

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

Color values

HEX#988927
RGBrgb(152, 137, 39)
HSLhsl(52, 59%, 37%)
HSVhsv(52, 74%, 60%)
CMYKcmyk(0%, 9.9%, 74.3%, 40.4%)
CIE-LABlab(56.80, -5.57, 51.50)
CIE-LCHlch(56.80, 51.80, 96.17°)
OKLaboklab(62.57% -0.0207 0.1138)
OKLCHoklch(62.57% 0.116 100.3)
XYZxyz(22.2618, 24.7142, 5.5168)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988927 #273698
analogous
#985027 #988927 #6F9827
triadic
#988927 #279889 #892798
tetradic
#988927 #279850 #273698 #98276F
square
#988927 #279850 #273698 #98276F
split-complementary
#988927 #276F98 #502798
monochromatic
#37310E #675D1B #988927 #C9B533 #D7C763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##988927#FFFFFF#000000##000000
##9889271.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)
#968516
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#A47F76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #988927;
/* rgb */ color: rgb(152, 137, 39);
/* oklch */ color: oklch(62.6% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#baab68',
    500: '#988927',
    950: '#000000',
  },
}
SCSS
$custom: #988927;
$custom-light: #baab68;
$custom-dark: #000000;
JSON
{
  "hex": "#988927",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 39
  },
  "hsl": {
    "h": 52.035,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62566,
    "c": 0.11564,
    "h": 100.3
  },
  "luminance": 0.24713
}

Semantic roles & 50–950 ramp

primary
#988927
secondary
#5E6BBC
accent
#5AE245
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #988927

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

Preview Lab → · Contrast checker → · Palette generator →

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