#978E33#978E33

#978E33 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.112 H 103.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#978E33
RGBrgb(151, 142, 51)
HSLhsl(55, 50%, 40%)
HSVhsv(55, 66%, 59%)
CMYKcmyk(0%, 6%, 66.2%, 40.8%)
CIE-LABlab(58.19, -8.07, 47.92)
CIE-LCHlch(58.19, 48.59, 99.56°)
OKLaboklab(63.68% -0.0263 0.1084)
OKLCHoklch(63.68% 0.112 103.7)
XYZxyz(23.0339, 26.1652, 6.9684)
Luminance0.2616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E33 #333C97
analogous
#975C33 #978E33 #6E9733
triadic
#978E33 #33978E #8E3397
tetradic
#978E33 #33975C #333C97 #97336E
square
#978E33 #33975C #333C97 #97336E
split-complementary
#978E33 #336E97 #5C3397
monochromatic
#3C3814 #696324 #978E33 #C1B647 #D0C874

Accessibility & contrast

On white

3.37
#978E33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#978E33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E33
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E33#FFFFFF#000000##000000
##978E331.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8927
Deuteranopia (green-blind)
#9D8E38
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e33;
/* rgb */ color: rgb(151, 142, 51);
/* oklch */ color: oklch(63.7% 0.112 103.7);
Tailwind
colors: {
  custom: {
    50: '#b8ae6f',
    500: '#978e33',
    950: '#000000',
  },
}
SCSS
$custom: #978e33;
$custom-light: #b8ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#978e33",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 51
  },
  "hsl": {
    "h": 54.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63683,
    "c": 0.11156,
    "h": 103.7
  },
  "luminance": 0.26164
}

Semantic roles & 50–950 ramp

primary
#978E33
secondary
#6D74B8
accent
#5BD94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #978E33

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

Preview Lab → · Contrast checker → · Palette generator →

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