#979040#979040

#979040 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.102 H 104.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#979040
RGBrgb(151, 144, 64)
HSLhsl(55, 40%, 42%)
HSVhsv(55, 58%, 59%)
CMYKcmyk(0%, 4.6%, 57.6%, 40.8%)
CIE-LABlab(58.88, -8.21, 42.65)
CIE-LCHlch(58.88, 43.43, 100.90°)
OKLaboklab(64.27% -0.0252 0.0991)
OKLCHoklch(64.27% 0.102 104.3)
XYZxyz(23.6619, 26.8968, 8.7947)
Luminance0.2690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979040 #404797
analogous
#976440 #979040 #739740
triadic
#979040 #409790 #904097
tetradic
#979040 #409764 #404797 #974073
square
#979040 #409764 #404797 #974073
split-complementary
#979040 #407397 #644097
monochromatic
#413E1C #6C672E #979040 #B9B25B #CCC686

Accessibility & contrast

On white

3.29
#979040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#979040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979040
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979040#FFFFFF#000000##000000
##9790401.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B38
Deuteranopia (green-blind)
#9E8F44
Tritanopia (blue-blind)
#A1877E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #979040;
/* rgb */ color: rgb(151, 144, 64);
/* oklch */ color: oklch(64.3% 0.102 104.3);
Tailwind
colors: {
  custom: {
    50: '#b8b078',
    500: '#979040',
    950: '#000000',
  },
}
SCSS
$custom: #979040;
$custom-light: #b8b078;
$custom-dark: #000000;
JSON
{
  "hex": "#979040",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 64
  },
  "hsl": {
    "h": 55.172,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64267,
    "c": 0.10221,
    "h": 104.3
  },
  "luminance": 0.26896
}

Semantic roles & 50–950 ramp

primary
#979040
secondary
#7D81B6
accent
#61D057
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #979040

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

Preview Lab → · Contrast checker → · Palette generator →

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