#97842C#97842C

#97842C is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.4% C 0.108 H 96.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#97842C
RGBrgb(151, 132, 44)
HSLhsl(49, 55%, 38%)
HSVhsv(49, 71%, 59%)
CMYKcmyk(0%, 12.6%, 70.9%, 40.8%)
CIE-LABlab(55.34, -3.01, 48.01)
CIE-LCHlch(55.34, 48.10, 93.59°)
OKLaboklab(61.4% -0.0128 0.1074)
OKLCHoklch(61.4% 0.108 96.8)
XYZxyz(21.4694, 23.2648, 5.7421)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97842C #2C3F97
analogous
#974E2C #97842C #74972C
triadic
#97842C #2C9784 #842C97
tetradic
#97842C #2C974E #2C3F97 #972C74
square
#97842C #2C974E #2C3F97 #972C74
split-complementary
#97842C #2C7497 #4E2C97
monochromatic
#383110 #685B1E #97842C #C6AD3A #D4C16A

Accessibility & contrast

On white

3.71
#97842C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#97842C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97842C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97842C#FFFFFF#000000##000000
##97842C1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#A37A72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #97842c;
/* rgb */ color: rgb(151, 132, 44);
/* oklch */ color: oklch(61.4% 0.108 96.8);
Tailwind
colors: {
  custom: {
    50: '#b9a76b',
    500: '#97842c',
    950: '#000000',
  },
}
SCSS
$custom: #97842c;
$custom-light: #b9a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#97842c",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 49.346,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61404,
    "c": 0.10813,
    "h": 96.8
  },
  "luminance": 0.23264
}

Semantic roles & 50–950 ramp

primary
#97842C
secondary
#6574BA
accent
#64DE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97842C

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

Preview Lab → · Contrast checker → · Palette generator →

#97842C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva