#978F34#978F34

#978F34 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 63.9% C 0.112 H 104.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#978F34
RGBrgb(151, 143, 52)
HSLhsl(55, 49%, 40%)
HSVhsv(55, 66%, 59%)
CMYKcmyk(0%, 5.3%, 65.6%, 40.8%)
CIE-LABlab(58.48, -8.54, 47.79)
CIE-LCHlch(58.48, 48.54, 100.14°)
OKLaboklab(63.92% -0.0276 0.1083)
OKLCHoklch(63.92% 0.112 104.3)
XYZxyz(23.2057, 26.4730, 7.1356)
Luminance0.2647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978F34 #343C97
analogous
#975E34 #978F34 #6D9734
triadic
#978F34 #34978F #8F3497
tetradic
#978F34 #34975E #343C97 #97346D
square
#978F34 #34975E #343C97 #97346D
split-complementary
#978F34 #346D97 #5E3497
monochromatic
#3C3915 #696424 #978F34 #C0B648 #D0C876

Accessibility & contrast

On white

3.34
#978F34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#978F34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978F34
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978F34#FFFFFF#000000##000000
##978F341.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A29
Deuteranopia (green-blind)
#9E8F39
Tritanopia (blue-blind)
#A2867C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978f34;
/* rgb */ color: rgb(151, 143, 52);
/* oklch */ color: oklch(63.9% 0.112 104.3);
Tailwind
colors: {
  custom: {
    50: '#b8af70',
    500: '#978f34',
    950: '#000000',
  },
}
SCSS
$custom: #978f34;
$custom-light: #b8af70;
$custom-dark: #000000;
JSON
{
  "hex": "#978f34",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 52
  },
  "hsl": {
    "h": 55.152,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63916,
    "c": 0.11174,
    "h": 104.3
  },
  "luminance": 0.26472
}

Semantic roles & 50–950 ramp

primary
#978F34
secondary
#6F75B8
accent
#5BD84F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978F34

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

Preview Lab → · Contrast checker → · Palette generator →

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