#978E2E#978E2E

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

Color values

HEX#978E2E
RGBrgb(151, 142, 46)
HSLhsl(55, 53%, 39%)
HSVhsv(55, 70%, 59%)
CMYKcmyk(0%, 6%, 69.5%, 40.8%)
CIE-LABlab(58.15, -8.37, 50.01)
CIE-LCHlch(58.15, 50.71, 99.50°)
OKLaboklab(63.64% -0.0278 0.112)
OKLCHoklch(63.64% 0.115 103.9)
XYZxyz(22.9296, 26.1235, 6.4188)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978E2E #2E3797
analogous
#97592E #978E2E #6B972E
triadic
#978E2E #2E978E #8E2E97
tetradic
#978E2E #2E9759 #2E3797 #972E6B
square
#978E2E #2E9759 #2E3797 #972E6B
split-complementary
#978E2E #2E6B97 #592E97
monochromatic
#393611 #686220 #978E2E #C4B93E #D2CA6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978E2E#FFFFFF#000000##000000
##978E2E1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8920
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #978e2e;
/* rgb */ color: rgb(151, 142, 46);
/* oklch */ color: oklch(63.6% 0.115 103.9);
Tailwind
colors: {
  custom: {
    50: '#b9ae6d',
    500: '#978e2e',
    950: '#000000',
  },
}
SCSS
$custom: #978e2e;
$custom-light: #b9ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#978e2e",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 54.857,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63639,
    "c": 0.11537,
    "h": 103.9
  },
  "luminance": 0.26123
}

Semantic roles & 50–950 ramp

primary
#978E2E
secondary
#676EBA
accent
#58DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #978E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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