#978E30#978E30

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

Color values

HEX#978E30
RGBrgb(151, 142, 48)
HSLhsl(55, 52%, 39%)
HSVhsv(55, 68%, 59%)
CMYKcmyk(0%, 6%, 68.2%, 40.8%)
CIE-LABlab(58.17, -8.25, 49.19)
CIE-LCHlch(58.17, 49.88, 99.52°)
OKLaboklab(63.66% -0.0272 0.1106)
OKLCHoklch(63.66% 0.114 103.8)
XYZxyz(22.9699, 26.1396, 6.6312)
Luminance0.2614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E30 #303997
analogous
#975B30 #978E30 #6D9730
triadic
#978E30 #30978E #8E3097
tetradic
#978E30 #30975B #303997 #97306D
square
#978E30 #30975B #303997 #97306D
split-complementary
#978E30 #306D97 #5B3097
monochromatic
#3A3712 #696221 #978E30 #C3B741 #D2C970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978E30#FFFFFF#000000##000000
##978E301.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)
#9B8923
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e30;
/* rgb */ color: rgb(151, 142, 48);
/* oklch */ color: oklch(63.7% 0.114 103.8);
Tailwind
colors: {
  custom: {
    50: '#b9ae6e',
    500: '#978e30',
    950: '#000000',
  },
}
SCSS
$custom: #978e30;
$custom-light: #b9ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#978e30",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 54.757,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63656,
    "c": 0.11389,
    "h": 103.8
  },
  "luminance": 0.26139
}

Semantic roles & 50–950 ramp

primary
#978E30
secondary
#6A71B9
accent
#59DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978E30

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

Preview Lab → · Contrast checker → · Palette generator →

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