#978C30#978C30

#978C30 is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.2% C 0.112 H 102.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#978C30
RGBrgb(151, 140, 48)
HSLhsl(54, 52%, 39%)
HSVhsv(54, 68%, 59%)
CMYKcmyk(0%, 7.3%, 68.2%, 40.8%)
CIE-LABlab(57.61, -7.17, 48.61)
CIE-LCHlch(57.61, 49.14, 98.39°)
OKLaboklab(63.21% -0.0241 0.1094)
OKLCHoklch(63.21% 0.112 102.4)
XYZxyz(22.6750, 25.5498, 6.5329)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978C30 #303B97
analogous
#975930 #978C30 #6F9730
triadic
#978C30 #30978C #8C3097
tetradic
#978C30 #309759 #303B97 #97306F
square
#978C30 #309759 #303B97 #97306F
split-complementary
#978C30 #306F97 #593097
monochromatic
#3A3612 #696121 #978C30 #C3B541 #D2C770

Accessibility & contrast

On white

3.44
#978C30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#978C30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978C30
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978C30#FFFFFF#000000##000000
##978C301.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998824
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#A28279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978c30;
/* rgb */ color: rgb(151, 140, 48);
/* oklch */ color: oklch(63.2% 0.112 102.4);
Tailwind
colors: {
  custom: {
    50: '#b9ad6e',
    500: '#978c30',
    950: '#000000',
  },
}
SCSS
$custom: #978c30;
$custom-light: #b9ad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#978c30",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 48
  },
  "hsl": {
    "h": 53.592,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63209,
    "c": 0.112,
    "h": 102.4
  },
  "luminance": 0.25549
}

Semantic roles & 50–950 ramp

primary
#978C30
secondary
#6A72B9
accent
#5CDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978C30

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

Preview Lab → · Contrast checker → · Palette generator →

#978C30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva