#978036#978036

#978036 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.6% C 0.097 H 92.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#978036
RGBrgb(151, 128, 54)
HSLhsl(46, 47%, 40%)
HSVhsv(46, 64%, 59%)
CMYKcmyk(0%, 15.2%, 64.2%, 40.8%)
CIE-LABlab(54.33, -0.16, 42.39)
CIE-LCHlch(54.33, 42.39, 90.21°)
OKLaboklab(60.63% -0.0033 0.0971)
OKLCHoklch(60.63% 0.097 92)
XYZxyz(21.1485, 22.2851, 6.6768)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978036 #364D97
analogous
#974F36 #978036 #7E9736
triadic
#978036 #369780 #803697
tetradic
#978036 #36974F #364D97 #97367E
square
#978036 #36974F #364D97 #97367E
split-complementary
#978036 #367E97 #4F3697
monochromatic
#3D3416 #6A5A26 #978036 #BFA34B #CFBA78

Accessibility & contrast

On white

3.85
#978036 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#978036 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978036
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978036#FFFFFF#000000##000000
##9780361.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2E
Deuteranopia (green-blind)
#938539
Tritanopia (blue-blind)
#A37670
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #978036;
/* rgb */ color: rgb(151, 128, 54);
/* oklch */ color: oklch(60.6% 0.097 92.0);
Tailwind
colors: {
  custom: {
    50: '#b8a470',
    500: '#978036',
    950: '#000000',
  },
}
SCSS
$custom: #978036;
$custom-light: #b8a470;
$custom-dark: #000000;
JSON
{
  "hex": "#978036",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 54
  },
  "hsl": {
    "h": 45.773,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.0972,
    "h": 92
  },
  "luminance": 0.22284
}

Semantic roles & 50–950 ramp

primary
#978036
secondary
#7182B8
accent
#71D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978036

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

Preview Lab → · Contrast checker → · Palette generator →

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