#978F44#978F44

#978F44 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.097 H 103.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#978F44
RGBrgb(151, 143, 68)
HSLhsl(54, 38%, 43%)
HSVhsv(54, 55%, 59%)
CMYKcmyk(0%, 5.3%, 55%, 40.8%)
CIE-LABlab(58.64, -7.34, 40.41)
CIE-LCHlch(58.64, 41.07, 100.29°)
OKLaboklab(64.09% -0.0222 0.0947)
OKLCHoklch(64.09% 0.097 103.2)
XYZxyz(23.6291, 26.6424, 9.3655)
Luminance0.2664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978F44 #444C97
analogous
#976544 #978F44 #759744
triadic
#978F44 #44978F #8F4497
tetradic
#978F44 #449765 #444C97 #974475
square
#978F44 #449765 #444C97 #974475
split-complementary
#978F44 #447597 #654497
monochromatic
#433F1E #6D6731 #978F44 #B8AF61 #CBC48B

Accessibility & contrast

On white

3.32
#978F44 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#978F44 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978F44
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978F44#FFFFFF#000000##000000
##978F441.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B3D
Deuteranopia (green-blind)
#9D8F48
Tritanopia (blue-blind)
#A1867E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978f44;
/* rgb */ color: rgb(151, 143, 68);
/* oklch */ color: oklch(64.1% 0.097 103.2);
Tailwind
colors: {
  custom: {
    50: '#b8af7a',
    500: '#978f44',
    950: '#000000',
  },
}
SCSS
$custom: #978f44;
$custom-light: #b8af7a;
$custom-dark: #000000;
JSON
{
  "hex": "#978f44",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 68
  },
  "hsl": {
    "h": 54.217,
    "s": 37.9,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64093,
    "c": 0.09727,
    "h": 103.2
  },
  "luminance": 0.26642
}

Semantic roles & 50–950 ramp

primary
#978F44
secondary
#8186B6
accent
#65CE5A
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #978F44

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

Preview Lab → · Contrast checker → · Palette generator →

#978F44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva