#97952F#97952F

#97952F is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.2% C 0.122 H 108.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#97952F
RGBrgb(151, 149, 47)
HSLhsl(59, 53%, 39%)
HSVhsv(59, 69%, 59%)
CMYKcmyk(0%, 1.3%, 68.9%, 40.8%)
CIE-LABlab(60.14, -12.06, 51.61)
CIE-LCHlch(60.14, 53.00, 103.15°)
OKLaboklab(65.22% -0.0381 0.1155)
OKLCHoklch(65.22% 0.122 108.2)
XYZxyz(24.0239, 28.2802, 6.8819)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97952F #2F3197
analogous
#97612F #97952F #65972F
triadic
#97952F #2F9795 #952F97
tetradic
#97952F #2F9761 #2F3197 #972F65
square
#97952F #2F9761 #2F3197 #972F65
split-complementary
#97952F #2F6597 #612F97
monochromatic
#3A3912 #686720 #97952F #C3C140 #D2D06E

Accessibility & contrast

On white

3.16
#97952F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#97952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97952F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97952F#FFFFFF#000000##000000
##97952F1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F20
Deuteranopia (green-blind)
#A39336
Tritanopia (blue-blind)
#A28B81
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #97952f;
/* rgb */ color: rgb(151, 149, 47);
/* oklch */ color: oklch(65.2% 0.122 108.2);
Tailwind
colors: {
  custom: {
    50: '#b9b36e',
    500: '#97952f',
    950: '#000000',
  },
}
SCSS
$custom: #97952f;
$custom-light: #b9b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#97952f",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 58.846,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65224,
    "c": 0.12163,
    "h": 108.2
  },
  "luminance": 0.28279
}

Semantic roles & 50–950 ramp

primary
#97952F
secondary
#686AB9
accent
#4FDC4C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #97952F

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

Preview Lab → · Contrast checker → · Palette generator →

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