#978235#978235

#978235 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.100 H 94.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#978235
RGBrgb(151, 130, 53)
HSLhsl(47, 48%, 40%)
HSVhsv(47, 65%, 59%)
CMYKcmyk(0%, 13.9%, 64.9%, 40.8%)
CIE-LABlab(54.87, -1.34, 43.46)
CIE-LCHlch(54.87, 43.48, 91.77°)
OKLaboklab(61.05% -0.0069 0.0993)
OKLCHoklch(61.05% 0.1 94)
XYZxyz(21.3887, 22.8027, 6.6422)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978235 #354A97
analogous
#975135 #978235 #7B9735
triadic
#978235 #359782 #823597
tetradic
#978235 #359751 #354A97 #97357B
square
#978235 #359751 #354A97 #97357B
split-complementary
#978235 #357B97 #513597
monochromatic
#3C3415 #6A5B25 #978235 #BFA64A #CFBC77

Accessibility & contrast

On white

3.78
#978235 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#978235 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978235
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978235#FFFFFF#000000##000000
##9782351.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802C
Deuteranopia (green-blind)
#948639
Tritanopia (blue-blind)
#A37871
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #978235;
/* rgb */ color: rgb(151, 130, 53);
/* oklch */ color: oklch(61.1% 0.100 94.0);
Tailwind
colors: {
  custom: {
    50: '#b8a670',
    500: '#978235',
    950: '#000000',
  },
}
SCSS
$custom: #978235;
$custom-light: #b8a670;
$custom-dark: #000000;
JSON
{
  "hex": "#978235",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 53
  },
  "hsl": {
    "h": 47.143,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.61053,
    "c": 0.0995,
    "h": 94
  },
  "luminance": 0.22802
}

Semantic roles & 50–950 ramp

primary
#978235
secondary
#707FB8
accent
#6DD850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B

Preview Lab

Preview with #978235

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

Preview Lab → · Contrast checker → · Palette generator →

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