#978130#978130

#978130 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.103 H 93.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#978130
RGBrgb(151, 129, 48)
HSLhsl(47, 52%, 39%)
HSVhsv(47, 68%, 59%)
CMYKcmyk(0%, 14.6%, 68.2%, 40.8%)
CIE-LABlab(54.55, -1.11, 45.43)
CIE-LCHlch(54.55, 45.44, 91.40°)
OKLaboklab(60.79% -0.0068 0.1026)
OKLCHoklch(60.79% 0.103 93.8)
XYZxyz(21.1473, 22.4944, 6.0237)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978130 #304697
analogous
#974D30 #978130 #7A9730
triadic
#978130 #309781 #813097
tetradic
#978130 #30974D #304697 #97307A
square
#978130 #30974D #304697 #97307A
split-complementary
#978130 #307A97 #4D3097
monochromatic
#3A3212 #695921 #978130 #C3A741 #D2BD70

Accessibility & contrast

On white

3.82
#978130 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#978130 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978130
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978130#FFFFFF#000000##000000
##9781301.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F26
Deuteranopia (green-blind)
#948534
Tritanopia (blue-blind)
#A37770
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #978130;
/* rgb */ color: rgb(151, 129, 48);
/* oklch */ color: oklch(60.8% 0.103 93.8);
Tailwind
colors: {
  custom: {
    50: '#b9a56d',
    500: '#978130',
    950: '#000000',
  },
}
SCSS
$custom: #978130;
$custom-light: #b9a56d;
$custom-dark: #000000;
JSON
{
  "hex": "#978130",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 48
  },
  "hsl": {
    "h": 47.184,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60785,
    "c": 0.10286,
    "h": 93.8
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

primary
#978130
secondary
#6A7BB9
accent
#6BDB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978130

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

Preview Lab → · Contrast checker → · Palette generator →

#978130 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva