#978434#978434

#978434 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.102 H 95.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#978434
RGBrgb(151, 132, 52)
HSLhsl(48, 49%, 40%)
HSVhsv(48, 66%, 59%)
CMYKcmyk(0%, 12.6%, 65.6%, 40.8%)
CIE-LABlab(55.41, -2.52, 44.51)
CIE-LCHlch(55.41, 44.58, 93.24°)
OKLaboklab(61.48% -0.0104 0.1014)
OKLCHoklch(61.48% 0.102 95.9)
XYZxyz(21.6346, 23.3308, 6.6119)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978434 #344797
analogous
#975334 #978434 #789734
triadic
#978434 #349784 #843497
tetradic
#978434 #349753 #344797 #973478
square
#978434 #349753 #344797 #973478
split-complementary
#978434 #347897 #533497
monochromatic
#3C3415 #695C24 #978434 #C0A948 #D0BE76

Accessibility & contrast

On white

3.71
#978434 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#978434 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978434
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978434#FFFFFF#000000##000000
##9784341.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812B
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#A37A73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978434;
/* rgb */ color: rgb(151, 132, 52);
/* oklch */ color: oklch(61.5% 0.102 95.9);
Tailwind
colors: {
  custom: {
    50: '#b8a76f',
    500: '#978434',
    950: '#000000',
  },
}
SCSS
$custom: #978434;
$custom-light: #b8a76f;
$custom-dark: #000000;
JSON
{
  "hex": "#978434",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 52
  },
  "hsl": {
    "h": 48.485,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61479,
    "c": 0.10188,
    "h": 95.9
  },
  "luminance": 0.2333
}

Semantic roles & 50–950 ramp

primary
#978434
secondary
#6F7DB8
accent
#6AD84F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978434

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

Preview Lab → · Contrast checker → · Palette generator →

#978434 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva