#978E29#978E29

#978E29 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.119 H 104.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#978E29
RGBrgb(151, 142, 41)
HSLhsl(55, 57%, 38%)
HSVhsv(55, 73%, 59%)
CMYKcmyk(0%, 6%, 72.8%, 40.8%)
CIE-LABlab(58.12, -8.64, 51.98)
CIE-LCHlch(58.12, 52.70, 99.44°)
OKLaboklab(63.6% -0.0291 0.1152)
OKLCHoklch(63.6% 0.119 104.2)
XYZxyz(22.8367, 26.0863, 5.9296)
Luminance0.2609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E29 #293297
analogous
#975729 #978E29 #699729
triadic
#978E29 #29978E #8E2997
tetradic
#978E29 #299757 #293297 #972969
square
#978E29 #299757 #293297 #972969
split-complementary
#978E29 #296997 #572997
monochromatic
#37330F #67611C #978E29 #C7BB36 #D5CC65

Accessibility & contrast

On white

3.38
#978E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#978E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E29
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E29#FFFFFF#000000##000000
##978E291.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#A3847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e29;
/* rgb */ color: rgb(151, 142, 41);
/* oklch */ color: oklch(63.6% 0.119 104.2);
Tailwind
colors: {
  custom: {
    50: '#b9ae6a',
    500: '#978e29',
    950: '#000000',
  },
}
SCSS
$custom: #978e29;
$custom-light: #b9ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#978e29",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 55.091,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.636,
    "c": 0.11883,
    "h": 104.2
  },
  "luminance": 0.26085
}

Semantic roles & 50–950 ramp

primary
#978E29
secondary
#6168BB
accent
#54E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978E29

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

Preview Lab → · Contrast checker → · Palette generator →

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