#978A30#978A30

#978A30 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.110 H 101.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#978A30
RGBrgb(151, 138, 48)
HSLhsl(52, 52%, 39%)
HSVhsv(52, 68%, 59%)
CMYKcmyk(0%, 8.6%, 68.2%, 40.8%)
CIE-LABlab(57.05, -6.08, 48.03)
CIE-LCHlch(57.05, 48.42, 97.21°)
OKLaboklab(62.76% -0.021 0.1081)
OKLCHoklch(62.76% 0.11 101)
XYZxyz(22.3854, 24.9706, 6.4364)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978A30 #303D97
analogous
#975730 #978A30 #719730
triadic
#978A30 #30978A #8A3097
tetradic
#978A30 #309757 #303D97 #973071
square
#978A30 #309757 #303D97 #973071
split-complementary
#978A30 #307197 #573097
monochromatic
#3A3512 #696021 #978A30 #C3B241 #D2C570

Accessibility & contrast

On white

3.50
#978A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#978A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978A30
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978A30#FFFFFF#000000##000000
##978A301.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978624
Deuteranopia (green-blind)
#9B8B35
Tritanopia (blue-blind)
#A28078
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #978a30;
/* rgb */ color: rgb(151, 138, 48);
/* oklch */ color: oklch(62.8% 0.110 101.0);
Tailwind
colors: {
  custom: {
    50: '#b9ab6d',
    500: '#978a30',
    950: '#000000',
  },
}
SCSS
$custom: #978a30;
$custom-light: #b9ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#978a30",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 52.427,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62764,
    "c": 0.11017,
    "h": 101
  },
  "luminance": 0.2497
}

Semantic roles & 50–950 ramp

primary
#978A30
secondary
#6A74B9
accent
#5FDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978A30

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

Preview Lab → · Contrast checker → · Palette generator →

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