#978733#978733

#978733 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.1% C 0.105 H 98.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#978733
RGBrgb(151, 135, 51)
HSLhsl(50, 50%, 40%)
HSVhsv(50, 66%, 59%)
CMYKcmyk(0%, 10.6%, 66.2%, 40.8%)
CIE-LABlab(56.23, -4.25, 45.85)
CIE-LCHlch(56.23, 46.05, 95.29°)
OKLaboklab(62.13% -0.0154 0.104)
OKLCHoklch(62.13% 0.105 98.4)
XYZxyz(22.0250, 24.1473, 6.6321)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978733 #334397
analogous
#975533 #978733 #759733
triadic
#978733 #339787 #873397
tetradic
#978733 #339755 #334397 #973375
square
#978733 #339755 #334397 #973375
split-complementary
#978733 #337597 #553397
monochromatic
#3C3514 #695E24 #978733 #C1AD47 #D0C174

Accessibility & contrast

On white

3.60
#978733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#978733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978733
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978733#FFFFFF#000000##000000
##9787331.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948429
Deuteranopia (green-blind)
#988937
Tritanopia (blue-blind)
#A37D75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978733;
/* rgb */ color: rgb(151, 135, 51);
/* oklch */ color: oklch(62.1% 0.105 98.4);
Tailwind
colors: {
  custom: {
    50: '#b8a96f',
    500: '#978733',
    950: '#000000',
  },
}
SCSS
$custom: #978733;
$custom-light: #b8a96f;
$custom-dark: #000000;
JSON
{
  "hex": "#978733",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 51
  },
  "hsl": {
    "h": 50.4,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62128,
    "c": 0.10517,
    "h": 98.4
  },
  "luminance": 0.24146
}

Semantic roles & 50–950 ramp

primary
#978733
secondary
#6D79B8
accent
#65D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978733

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

Preview Lab → · Contrast checker → · Palette generator →

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