#978734#978734

#978734 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.1% C 0.104 H 98.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#978734
RGBrgb(151, 135, 52)
HSLhsl(50, 49%, 40%)
HSVhsv(50, 66%, 59%)
CMYKcmyk(0%, 10.6%, 65.6%, 40.8%)
CIE-LABlab(56.24, -4.18, 45.41)
CIE-LCHlch(56.24, 45.60, 95.26°)
OKLaboklab(62.14% -0.0151 0.1032)
OKLCHoklch(62.14% 0.104 98.3)
XYZxyz(22.0473, 24.1562, 6.7494)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978734 #344497
analogous
#975634 #978734 #769734
triadic
#978734 #349787 #873497
tetradic
#978734 #349756 #344497 #973476
square
#978734 #349756 #344497 #973476
split-complementary
#978734 #347697 #563497
monochromatic
#3C3615 #695E24 #978734 #C0AD48 #D0C176

Accessibility & contrast

On white

3.60
#978734 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#978734 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978734
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978734#FFFFFF#000000##000000
##9787341.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842A
Deuteranopia (green-blind)
#988938
Tritanopia (blue-blind)
#A37D75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978734;
/* rgb */ color: rgb(151, 135, 52);
/* oklch */ color: oklch(62.1% 0.104 98.3);
Tailwind
colors: {
  custom: {
    50: '#b8a96f',
    500: '#978734',
    950: '#000000',
  },
}
SCSS
$custom: #978734;
$custom-light: #b8a96f;
$custom-dark: #000000;
JSON
{
  "hex": "#978734",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 52
  },
  "hsl": {
    "h": 50.303,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62138,
    "c": 0.10434,
    "h": 98.3
  },
  "luminance": 0.24155
}

Semantic roles & 50–950 ramp

primary
#978734
secondary
#6F7BB8
accent
#66D84F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978734

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

Preview Lab → · Contrast checker → · Palette generator →

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