#978D30#978D30

#978D30 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.113 H 103.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#978D30
RGBrgb(151, 141, 48)
HSLhsl(54, 52%, 39%)
HSVhsv(54, 68%, 59%)
CMYKcmyk(0%, 6.6%, 68.2%, 40.8%)
CIE-LABlab(57.89, -7.71, 48.90)
CIE-LCHlch(57.89, 49.51, 98.96°)
OKLaboklab(63.43% -0.0257 0.11)
OKLCHoklch(63.43% 0.113 103.1)
XYZxyz(22.8218, 25.8434, 6.5819)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D30 #303A97
analogous
#975A30 #978D30 #6E9730
triadic
#978D30 #30978D #8D3097
tetradic
#978D30 #30975A #303A97 #97306E
square
#978D30 #30975A #303A97 #97306E
split-complementary
#978D30 #306E97 #5A3097
monochromatic
#3A3612 #696221 #978D30 #C3B641 #D2C870

Accessibility & contrast

On white

3.40
#978D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#978D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D30
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D30#FFFFFF#000000##000000
##978D301.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8823
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#A2837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d30;
/* rgb */ color: rgb(151, 141, 48);
/* oklch */ color: oklch(63.4% 0.113 103.1);
Tailwind
colors: {
  custom: {
    50: '#b9ae6e',
    500: '#978d30',
    950: '#000000',
  },
}
SCSS
$custom: #978d30;
$custom-light: #b9ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#978d30",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 54.175,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63432,
    "c": 0.11294,
    "h": 103.1
  },
  "luminance": 0.25842
}

Semantic roles & 50–950 ramp

primary
#978D30
secondary
#6A71B9
accent
#5ADB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978D30

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

Preview Lab → · Contrast checker → · Palette generator →

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