#978B30#978B30

#978B30 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.111 H 101.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#978B30
RGBrgb(151, 139, 48)
HSLhsl(53, 52%, 39%)
HSVhsv(53, 68%, 59%)
CMYKcmyk(0%, 7.9%, 68.2%, 40.8%)
CIE-LABlab(57.33, -6.62, 48.32)
CIE-LCHlch(57.33, 48.77, 97.81°)
OKLaboklab(62.99% -0.0226 0.1088)
OKLCHoklch(62.99% 0.111 101.7)
XYZxyz(22.5296, 25.2589, 6.4845)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978B30 #303C97
analogous
#975830 #978B30 #709730
triadic
#978B30 #30978B #8B3097
tetradic
#978B30 #309758 #303C97 #973070
square
#978B30 #309758 #303C97 #973070
split-complementary
#978B30 #307097 #583097
monochromatic
#3A3612 #696021 #978B30 #C3B441 #D2C670

Accessibility & contrast

On white

3.47
#978B30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#978B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978B30
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978B30#FFFFFF#000000##000000
##978B301.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988724
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#A28178
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #978b30;
/* rgb */ color: rgb(151, 139, 48);
/* oklch */ color: oklch(63.0% 0.111 101.7);
Tailwind
colors: {
  custom: {
    50: '#b9ac6d',
    500: '#978b30',
    950: '#000000',
  },
}
SCSS
$custom: #978b30;
$custom-light: #b9ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#978b30",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 48
  },
  "hsl": {
    "h": 53.01,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62986,
    "c": 0.11107,
    "h": 101.7
  },
  "luminance": 0.25258
}

Semantic roles & 50–950 ramp

primary
#978B30
secondary
#6A73B9
accent
#5DDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978B30

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

Preview Lab → · Contrast checker → · Palette generator →

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