#988935#988935

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

Color values

HEX#988935
RGBrgb(152, 137, 53)
HSLhsl(51, 48%, 40%)
HSVhsv(51, 65%, 60%)
CMYKcmyk(0%, 9.9%, 65.1%, 40.4%)
CIE-LABlab(56.90, -4.76, 45.68)
CIE-LCHlch(56.90, 45.93, 95.95°)
OKLaboklab(62.69% -0.0167 0.104)
OKLCHoklch(62.69% 0.105 99.2)
XYZxyz(22.5381, 24.8248, 6.9720)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988935 #354498
analogous
#985735 #988935 #769835
triadic
#988935 #359889 #893598
tetradic
#988935 #359857 #354498 #983576
square
#988935 #359857 #354498 #983576
split-complementary
#988935 #357698 #573598
monochromatic
#3D3715 #6B6025 #988935 #C0AE4A #D0C278

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##988935#FFFFFF#000000##000000
##9889351.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)
#96852B
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#A37F77
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #988935;
/* rgb */ color: rgb(152, 137, 53);
/* oklch */ color: oklch(62.7% 0.105 99.2);
Tailwind
colors: {
  custom: {
    50: '#b9ab70',
    500: '#988935',
    950: '#000000',
  },
}
SCSS
$custom: #988935;
$custom-light: #b9ab70;
$custom-dark: #000000;
JSON
{
  "hex": "#988935",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 53
  },
  "hsl": {
    "h": 50.909,
    "s": 48.293,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62687,
    "c": 0.1053,
    "h": 99.2
  },
  "luminance": 0.24824
}

Semantic roles & 50–950 ramp

primary
#988935
secondary
#707BB8
accent
#65D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #988935

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

Preview Lab → · Contrast checker → · Palette generator →

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