#97892A#97892A

#97892A is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.5% C 0.114 H 100.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#97892A
RGBrgb(151, 137, 42)
HSLhsl(52, 56%, 38%)
HSVhsv(52, 72%, 59%)
CMYKcmyk(0%, 9.3%, 72.2%, 40.8%)
CIE-LABlab(56.72, -5.87, 50.22)
CIE-LCHlch(56.72, 50.56, 96.67°)
OKLaboklab(62.49% -0.0211 0.1117)
OKLCHoklch(62.49% 0.114 100.7)
XYZxyz(22.1271, 24.6388, 5.7803)
Luminance0.2464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97892A #2A3897
analogous
#97532A #97892A #6E972A
triadic
#97892A #2A9789 #892A97
tetradic
#97892A #2A9753 #2A3897 #972A6E
square
#97892A #2A9753 #2A3897 #972A6E
split-complementary
#97892A #2A6E97 #532A97
monochromatic
#37320F #675E1D #97892A #C7B437 #D5C767

Accessibility & contrast

On white

3.54
#97892A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#97892A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97892A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97892A#FFFFFF#000000##000000
##97892A1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851B
Deuteranopia (green-blind)
#9A8A30
Tritanopia (blue-blind)
#A37F76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #97892a;
/* rgb */ color: rgb(151, 137, 42);
/* oklch */ color: oklch(62.5% 0.114 100.7);
Tailwind
colors: {
  custom: {
    50: '#b9ab6a',
    500: '#97892a',
    950: '#000000',
  },
}
SCSS
$custom: #97892a;
$custom-light: #b9ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#97892a",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 42
  },
  "hsl": {
    "h": 52.294,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62492,
    "c": 0.11365,
    "h": 100.7
  },
  "luminance": 0.24638
}

Semantic roles & 50–950 ramp

primary
#97892A
secondary
#626DBB
accent
#5CE048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #97892A

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

Preview Lab → · Contrast checker → · Palette generator →

#97892A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva