#978234#978234

#978234 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.0% C 0.100 H 94.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#978234
RGBrgb(151, 130, 52)
HSLhsl(47, 49%, 40%)
HSVhsv(47, 66%, 59%)
CMYKcmyk(0%, 13.9%, 65.6%, 40.8%)
CIE-LABlab(54.86, -1.41, 43.92)
CIE-LCHlch(54.86, 43.94, 91.84°)
OKLaboklab(61.04% -0.0072 0.1001)
OKLCHoklch(61.04% 0.1 94.1)
XYZxyz(21.3660, 22.7936, 6.5223)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978234 #344997
analogous
#975134 #978234 #7A9734
triadic
#978234 #349782 #823497
tetradic
#978234 #349751 #344997 #97347A
square
#978234 #349751 #344997 #97347A
split-complementary
#978234 #347A97 #513497
monochromatic
#3C3415 #695B24 #978234 #C0A748 #D0BD76

Accessibility & contrast

On white

3.78
#978234 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#978234 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978234
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978234#FFFFFF#000000##000000
##9782341.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802B
Deuteranopia (green-blind)
#948638
Tritanopia (blue-blind)
#A37871
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #978234;
/* rgb */ color: rgb(151, 130, 52);
/* oklch */ color: oklch(61.0% 0.100 94.1);
Tailwind
colors: {
  custom: {
    50: '#b8a66f',
    500: '#978234',
    950: '#000000',
  },
}
SCSS
$custom: #978234;
$custom-light: #b8a66f;
$custom-dark: #000000;
JSON
{
  "hex": "#978234",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 52
  },
  "hsl": {
    "h": 47.273,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.10034,
    "h": 94.1
  },
  "luminance": 0.22793
}

Semantic roles & 50–950 ramp

primary
#978234
secondary
#6F7EB8
accent
#6DD84F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978234

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

Preview Lab → · Contrast checker → · Palette generator →

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