#978341#978341

#978341 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.089 H 92.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#978341
RGBrgb(151, 131, 65)
HSLhsl(46, 40%, 42%)
HSVhsv(46, 57%, 59%)
CMYKcmyk(0%, 13.2%, 57%, 40.8%)
CIE-LABlab(55.27, -0.99, 37.99)
CIE-LCHlch(55.27, 38.00, 91.49°)
OKLaboklab(61.41% -0.0043 0.0891)
OKLCHoklch(61.41% 0.089 92.8)
XYZxyz(21.8338, 23.1946, 8.3269)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978341 #415597
analogous
#975841 #978341 #809741
triadic
#978341 #419783 #834197
tetradic
#978341 #419758 #415597 #974180
square
#978341 #419758 #415597 #974180
split-complementary
#978341 #418097 #584197
monochromatic
#41391C #6C5E2F #978341 #B9A35C #CBBB87

Accessibility & contrast

On white

3.72
#978341 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#978341 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978341
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978341#FFFFFF#000000##000000
##9783411.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813B
Deuteranopia (green-blind)
#948744
Tritanopia (blue-blind)
#A27A74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978341;
/* rgb */ color: rgb(151, 131, 65);
/* oklch */ color: oklch(61.4% 0.089 92.8);
Tailwind
colors: {
  custom: {
    50: '#b8a678',
    500: '#978341',
    950: '#000000',
  },
}
SCSS
$custom: #978341;
$custom-light: #b8a678;
$custom-dark: #000000;
JSON
{
  "hex": "#978341",
  "rgb": {
    "r": 151,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 46.047,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.61413,
    "c": 0.08922,
    "h": 92.8
  },
  "luminance": 0.23194
}

Semantic roles & 50–950 ramp

primary
#978341
secondary
#7E8BB6
accent
#74D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #978341

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

Preview Lab → · Contrast checker → · Palette generator →

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