#979945#979945

#979945 is a light, moderate yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.107 H 110.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#979945
RGBrgb(151, 153, 69)
HSLhsl(61, 38%, 44%)
HSVhsv(61, 55%, 60%)
CMYKcmyk(1.3%, 0%, 54.9%, 40%)
CIE-LABlab(61.47, -12.61, 43.19)
CIE-LCHlch(61.47, 44.99, 106.27°)
OKLaboklab(66.35% -0.0372 0.1008)
OKLCHoklch(66.35% 0.107 110.2)
XYZxyz(25.2285, 29.7920, 10.0505)
Luminance0.2979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979945 #474599
analogous
#997145 #979945 #6D9945
triadic
#979945 #459799 #994597
tetradic
#979945 #459971 #474599 #99456D
square
#979945 #459971 #474599 #99456D
split-complementary
#979945 #456D99 #714599
monochromatic
#44451F #6D6F32 #979945 #B6B963 #CACC8D

Accessibility & contrast

On white

3.02
#979945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#979945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979945
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979945#FFFFFF#000000##000000
##9799451.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933D
Deuteranopia (green-blind)
#A5964A
Tritanopia (blue-blind)
#A09186
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979945;
/* rgb */ color: rgb(151, 153, 69);
/* oklch */ color: oklch(66.4% 0.107 110.2);
Tailwind
colors: {
  custom: {
    50: '#b8b67b',
    500: '#979945',
    950: '#000000',
  },
}
SCSS
$custom: #979945;
$custom-light: #b8b67b;
$custom-dark: #000000;
JSON
{
  "hex": "#979945",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 69
  },
  "hsl": {
    "h": 61.429,
    "s": 37.838,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66351,
    "c": 0.10743,
    "h": 110.2
  },
  "luminance": 0.29791
}

Semantic roles & 50–950 ramp

primary
#979945
secondary
#8483B7
accent
#5ACE5D
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #979945

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

Preview Lab → · Contrast checker → · Palette generator →

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