#97841C#97841C

#97841C is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.3% C 0.118 H 98.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#97841C
RGBrgb(151, 132, 28)
HSLhsl(51, 69%, 35%)
HSVhsv(51, 81%, 59%)
CMYKcmyk(0%, 12.6%, 81.5%, 40.8%)
CIE-LABlab(55.24, -3.74, 53.93)
CIE-LCHlch(55.24, 54.06, 93.97°)
OKLaboklab(61.29% -0.0165 0.1168)
OKLCHoklch(61.29% 0.118 98.1)
XYZxyz(21.2245, 23.1668, 4.4521)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97841C #1C2F97
analogous
#97471C #97841C #6C971C
triadic
#97841C #1C9784 #841C97
tetradic
#97841C #1C9747 #1C2F97 #971C6C
square
#97841C #1C9747 #1C2F97 #971C6C
split-complementary
#97841C #1C6C97 #471C97
monochromatic
#302A09 #635712 #97841C #CBB126 #DEC84F

Accessibility & contrast

On white

3.73
#97841C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#97841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97841C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97841C#FFFFFF#000000##000000
##97841C1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#A47971
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #97841c;
/* rgb */ color: rgb(151, 132, 28);
/* oklch */ color: oklch(61.3% 0.118 98.1);
Tailwind
colors: {
  custom: {
    50: '#baa762',
    500: '#97841c',
    950: '#000000',
  },
}
SCSS
$custom: #97841c;
$custom-light: #baa762;
$custom-dark: #000000;
JSON
{
  "hex": "#97841c",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 50.732,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61293,
    "c": 0.11793,
    "h": 98.1
  },
  "luminance": 0.23166
}

Semantic roles & 50–950 ramp

primary
#97841C
secondary
#4E60C1
accent
#57EC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #97841C

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

Preview Lab → · Contrast checker → · Palette generator →

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