#97882F#97882F

#97882F is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.3% C 0.109 H 99.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#97882F
RGBrgb(151, 136, 47)
HSLhsl(51, 53%, 39%)
HSVhsv(51, 69%, 59%)
CMYKcmyk(0%, 9.9%, 68.9%, 40.8%)
CIE-LABlab(56.48, -5.04, 47.88)
CIE-LCHlch(56.48, 48.15, 96.01°)
OKLaboklab(62.31% -0.0182 0.1077)
OKLCHoklch(62.31% 0.109 99.6)
XYZxyz(22.0807, 24.3939, 6.2342)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97882F #2F3E97
analogous
#97542F #97882F #72972F
triadic
#97882F #2F9788 #882F97
tetradic
#97882F #2F9754 #2F3E97 #972F72
square
#97882F #2F9754 #2F3E97 #972F72
split-complementary
#97882F #2F7297 #542F97
monochromatic
#3A3412 #685E20 #97882F #C3B040 #D2C46E

Accessibility & contrast

On white

3.57
#97882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#97882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97882F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97882F#FFFFFF#000000##000000
##97882F1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958423
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#A37E76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #97882f;
/* rgb */ color: rgb(151, 136, 47);
/* oklch */ color: oklch(62.3% 0.109 99.6);
Tailwind
colors: {
  custom: {
    50: '#b9aa6d',
    500: '#97882f',
    950: '#000000',
  },
}
SCSS
$custom: #97882f;
$custom-light: #b9aa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97882f",
  "rgb": {
    "r": 151,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 51.346,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62312,
    "c": 0.10918,
    "h": 99.6
  },
  "luminance": 0.24393
}

Semantic roles & 50–950 ramp

primary
#97882F
secondary
#6874B9
accent
#61DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #97882F

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

Preview Lab → · Contrast checker → · Palette generator →

#97882F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva