#97842E#97842E

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

Color values

HEX#97842E
RGBrgb(151, 132, 46)
HSLhsl(49, 53%, 39%)
HSVhsv(49, 70%, 59%)
CMYKcmyk(0%, 12.6%, 69.5%, 40.8%)
CIE-LABlab(55.36, -2.90, 47.16)
CIE-LCHlch(55.36, 47.25, 93.51°)
OKLaboklab(61.42% -0.0122 0.106)
OKLCHoklch(61.42% 0.107 96.6)
XYZxyz(21.5079, 23.2802, 5.9449)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97842E #2E4197
analogous
#974F2E #97842E #75972E
triadic
#97842E #2E9784 #842E97
tetradic
#97842E #2E974F #2E4197 #972E75
square
#97842E #2E974F #2E4197 #972E75
split-complementary
#97842E #2E7597 #4F2E97
monochromatic
#393211 #685B20 #97842E #C4AC3E #D2C06D

Accessibility & contrast

On white

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

On black

5.66
#97842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97842E
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97842E#FFFFFF#000000##000000
##97842E1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#A37A72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #97842e;
/* rgb */ color: rgb(151, 132, 46);
/* oklch */ color: oklch(61.4% 0.107 96.6);
Tailwind
colors: {
  custom: {
    50: '#b9a76c',
    500: '#97842e',
    950: '#000000',
  },
}
SCSS
$custom: #97842e;
$custom-light: #b9a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#97842e",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 49.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61422,
    "c": 0.10665,
    "h": 96.6
  },
  "luminance": 0.23279
}

Semantic roles & 50–950 ramp

primary
#97842E
secondary
#6776BA
accent
#65DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #97842E

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

Preview Lab → · Contrast checker → · Palette generator →

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