#978E2B#978E2B

#978E2B is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.117 H 104.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#978E2B
RGBrgb(151, 142, 43)
HSLhsl(55, 56%, 38%)
HSVhsv(55, 72%, 59%)
CMYKcmyk(0%, 6%, 71.5%, 40.8%)
CIE-LABlab(58.13, -8.54, 51.21)
CIE-LCHlch(58.13, 51.92, 99.46°)
OKLaboklab(63.62% -0.0286 0.114)
OKLCHoklch(63.62% 0.117 104.1)
XYZxyz(22.8725, 26.1006, 6.1182)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E2B #2B3497
analogous
#97582B #978E2B #6A972B
triadic
#978E2B #2B978E #8E2B97
tetradic
#978E2B #2B9758 #2B3497 #972B6A
square
#978E2B #2B9758 #2B3497 #972B6A
split-complementary
#978E2B #2B6A97 #582B97
monochromatic
#383410 #67611D #978E2B #C7BB39 #D4CB68

Accessibility & contrast

On white

3.38
#978E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#978E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978E2B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978E2B#FFFFFF#000000##000000
##978E2B1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891B
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#A2847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e2b;
/* rgb */ color: rgb(151, 142, 43);
/* oklch */ color: oklch(63.6% 0.117 104.1);
Tailwind
colors: {
  custom: {
    50: '#b9ae6b',
    500: '#978e2b',
    950: '#000000',
  },
}
SCSS
$custom: #978e2b;
$custom-light: #b9ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#978e2b",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 55,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63615,
    "c": 0.11749,
    "h": 104.1
  },
  "luminance": 0.261
}

Semantic roles & 50–950 ramp

primary
#978E2B
secondary
#636ABB
accent
#55DF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #978E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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