#978833#978833

#978833 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.3% C 0.106 H 99.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#978833
RGBrgb(151, 136, 51)
HSLhsl(51, 50%, 40%)
HSVhsv(51, 66%, 59%)
CMYKcmyk(0%, 9.9%, 66.2%, 40.8%)
CIE-LABlab(56.51, -4.80, 46.15)
CIE-LCHlch(56.51, 46.40, 95.93°)
OKLaboklab(62.35% -0.017 0.1047)
OKLCHoklch(62.35% 0.106 99.2)
XYZxyz(22.1651, 24.4276, 6.6788)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978833 #334297
analogous
#975633 #978833 #749733
triadic
#978833 #339788 #883397
tetradic
#978833 #339756 #334297 #973374
square
#978833 #339756 #334297 #973374
split-complementary
#978833 #337497 #563397
monochromatic
#3C3614 #695F24 #978833 #C1AE47 #D0C274

Accessibility & contrast

On white

3.57
#978833 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#978833 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978833
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978833#FFFFFF#000000##000000
##9788331.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958429
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#A27E76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #978833;
/* rgb */ color: rgb(151, 136, 51);
/* oklch */ color: oklch(62.3% 0.106 99.2);
Tailwind
colors: {
  custom: {
    50: '#b8aa6f',
    500: '#978833',
    950: '#000000',
  },
}
SCSS
$custom: #978833;
$custom-light: #b8aa6f;
$custom-dark: #000000;
JSON
{
  "hex": "#978833",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 51
  },
  "hsl": {
    "h": 51,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62349,
    "c": 0.10603,
    "h": 99.2
  },
  "luminance": 0.24427
}

Semantic roles & 50–950 ramp

primary
#978833
secondary
#6D79B8
accent
#64D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978833

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

Preview Lab → · Contrast checker → · Palette generator →

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