#97893F#97893F

#97893F is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.096 H 98.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#97893F
RGBrgb(151, 137, 63)
HSLhsl(50, 41%, 42%)
HSVhsv(50, 58%, 59%)
CMYKcmyk(0%, 9.3%, 58.3%, 40.8%)
CIE-LABlab(56.91, -4.48, 40.89)
CIE-LCHlch(56.91, 41.14, 96.25°)
OKLaboklab(62.7% -0.0146 0.0952)
OKLCHoklch(62.7% 0.096 98.7)
XYZxyz(22.6062, 24.8304, 8.3036)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97893F #3F4D97
analogous
#975D3F #97893F #79973F
triadic
#97893F #3F9789 #893F97
tetradic
#97893F #3F975D #3F4D97 #973F79
square
#97893F #3F975D #3F4D97 #973F79
split-complementary
#97893F #3F7997 #5D3F97
monochromatic
#413B1B #6C622D #97893F #BAAB59 #CCC185

Accessibility & contrast

On white

3.52
#97893F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#97893F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97893F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97893F#FFFFFF#000000##000000
##97893F1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958638
Deuteranopia (green-blind)
#998B42
Tritanopia (blue-blind)
#A28079
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #97893f;
/* rgb */ color: rgb(151, 137, 63);
/* oklch */ color: oklch(62.7% 0.096 98.7);
Tailwind
colors: {
  custom: {
    50: '#b8ab77',
    500: '#97893f',
    950: '#000000',
  },
}
SCSS
$custom: #97893f;
$custom-light: #b8ab77;
$custom-dark: #000000;
JSON
{
  "hex": "#97893f",
  "rgb": {
    "r": 151,
    "g": 137,
    "b": 63
  },
  "hsl": {
    "h": 50.455,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.62701,
    "c": 0.09628,
    "h": 98.7
  },
  "luminance": 0.2483
}

Semantic roles & 50–950 ramp

primary
#97893F
secondary
#7C85B6
accent
#6AD157
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #97893F

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

Preview Lab → · Contrast checker → · Palette generator →

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