#988934#988934

#988934 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.106 H 99.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#988934
RGBrgb(152, 137, 52)
HSLhsl(51, 49%, 40%)
HSVhsv(51, 66%, 60%)
CMYKcmyk(0%, 9.9%, 65.8%, 40.4%)
CIE-LABlab(56.90, -4.83, 46.13)
CIE-LCHlch(56.90, 46.38, 95.98°)
OKLaboklab(62.68% -0.0171 0.1048)
OKLCHoklch(62.68% 0.106 99.3)
XYZxyz(22.5153, 24.8157, 6.8521)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988934 #344398
analogous
#985734 #988934 #759834
triadic
#988934 #349889 #893498
tetradic
#988934 #349857 #344398 #983475
square
#988934 #349857 #344398 #983475
split-complementary
#988934 #347598 #573498
monochromatic
#3D3715 #6A6024 #988934 #C1AF49 #D0C376

Accessibility & contrast

On white

3.52
#988934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#988934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988934
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988934#FFFFFF#000000##000000
##9889341.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96852A
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#A47F77
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #988934;
/* rgb */ color: rgb(152, 137, 52);
/* oklch */ color: oklch(62.7% 0.106 99.3);
Tailwind
colors: {
  custom: {
    50: '#b9ab70',
    500: '#988934',
    950: '#000000',
  },
}
SCSS
$custom: #988934;
$custom-light: #b9ab70;
$custom-dark: #000000;
JSON
{
  "hex": "#988934",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 52
  },
  "hsl": {
    "h": 51,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.62677,
    "c": 0.10613,
    "h": 99.3
  },
  "luminance": 0.24815
}

Semantic roles & 50–950 ramp

primary
#988934
secondary
#6F7AB9
accent
#64D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #988934

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

Preview Lab → · Contrast checker → · Palette generator →

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