#97995F#97995F

#97995F is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.079 H 110.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#97995F
RGBrgb(151, 153, 95)
HSLhsl(62, 23%, 49%)
HSVhsv(62, 38%, 60%)
CMYKcmyk(1.3%, 0%, 37.9%, 40%)
CIE-LABlab(61.82, -9.93, 30.26)
CIE-LCHlch(61.82, 31.84, 108.17°)
OKLaboklab(66.74% -0.027 0.0741)
OKLCHoklch(66.74% 0.079 110)
XYZxyz(26.2196, 30.1884, 15.2700)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97995F #615F99
analogous
#997E5F #97995F #7A995F
triadic
#97995F #5F9799 #995F97
tetradic
#97995F #5F997E #615F99 #995F7A
square
#97995F #5F997E #615F99 #995F7A
split-complementary
#97995F #5F7A99 #7E5F99
monochromatic
#4C4D30 #727348 #97995F #B0B283 #C8CAA9

Accessibility & contrast

On white

2.98
#97995F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#97995F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97995F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97995F#FFFFFF#000000##000000
##97995F1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2945B
Deuteranopia (green-blind)
#A29662
Tritanopia (blue-blind)
#9E928B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #97995f;
/* rgb */ color: rgb(151, 153, 95);
/* oklch */ color: oklch(66.7% 0.079 110.0);
Tailwind
colors: {
  custom: {
    50: '#b6b78d',
    500: '#97995f',
    950: '#000000',
  },
}
SCSS
$custom: #97995f;
$custom-light: #b6b78d;
$custom-dark: #000000;
JSON
{
  "hex": "#97995f",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 95
  },
  "hsl": {
    "h": 62.069,
    "s": 23.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.66735,
    "c": 0.0789,
    "h": 110
  },
  "luminance": 0.30188
}

Semantic roles & 50–950 ramp

primary
#97995F
secondary
#9D9CB8
accent
#68C06B
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D

Preview Lab

Preview with #97995F

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

Preview Lab → · Contrast checker → · Palette generator →

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