#978F30#978F30

#978F30 is a light, moderate yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.115 H 104.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#978F30
RGBrgb(151, 143, 48)
HSLhsl(55, 52%, 39%)
HSVhsv(55, 68%, 59%)
CMYKcmyk(0%, 5.3%, 68.2%, 40.8%)
CIE-LABlab(58.45, -8.79, 49.48)
CIE-LCHlch(58.45, 50.25, 100.08°)
OKLaboklab(63.88% -0.0287 0.1112)
OKLCHoklch(63.88% 0.115 104.5)
XYZxyz(23.1194, 26.4385, 6.6811)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978F30 #303897
analogous
#975C30 #978F30 #6C9730
triadic
#978F30 #30978F #8F3097
tetradic
#978F30 #30975C #303897 #97306C
square
#978F30 #30975C #303897 #97306C
split-complementary
#978F30 #306C97 #5C3097
monochromatic
#3A3712 #696321 #978F30 #C3B941 #D2CA70

Accessibility & contrast

On white

3.34
#978F30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#978F30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978F30
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978F30#FFFFFF#000000##000000
##978F301.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A23
Deuteranopia (green-blind)
#9E8F36
Tritanopia (blue-blind)
#A2857C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #978f30;
/* rgb */ color: rgb(151, 143, 48);
/* oklch */ color: oklch(63.9% 0.115 104.5);
Tailwind
colors: {
  custom: {
    50: '#b9af6e',
    500: '#978f30',
    950: '#000000',
  },
}
SCSS
$custom: #978f30;
$custom-light: #b9af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#978f30",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 48
  },
  "hsl": {
    "h": 55.34,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6388,
    "c": 0.11485,
    "h": 104.5
  },
  "luminance": 0.26438
}

Semantic roles & 50–950 ramp

primary
#978F30
secondary
#6A70B9
accent
#58DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978F30

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

Preview Lab → · Contrast checker → · Palette generator →

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