#97791E#97791E

#97791E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.9% C 0.110 H 89.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#97791E
RGBrgb(151, 121, 30)
HSLhsl(45, 67%, 35%)
HSVhsv(45, 80%, 59%)
CMYKcmyk(0%, 19.9%, 80.1%, 40.8%)
CIE-LABlab(52.23, 2.48, 50.54)
CIE-LCHlch(52.23, 50.60, 87.19°)
OKLaboklab(58.91% 0.0013 0.1099)
OKLCHoklch(58.91% 0.11 89.3)
XYZxyz(19.8354, 20.3491, 4.1111)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97791E #1E3C97
analogous
#973C1E #97791E #78971E
triadic
#97791E #1E9779 #791E97
tetradic
#97791E #1E973C #1E3C97 #971E78
square
#97791E #1E973C #1E3C97 #971E78
split-complementary
#97791E #1E7897 #3C1E97
monochromatic
#31270A #645014 #97791E #CAA228 #DDBB53

Accessibility & contrast

On white

4.14
#97791E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#97791E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97791E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97791E#FFFFFF#000000##000000
##97791E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#A46E68
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #97791e;
/* rgb */ color: rgb(151, 121, 30);
/* oklch */ color: oklch(58.9% 0.110 89.3);
Tailwind
colors: {
  custom: {
    50: '#ba9f62',
    500: '#97791e',
    950: '#000000',
  },
}
SCSS
$custom: #97791e;
$custom-light: #ba9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#97791e",
  "rgb": {
    "r": 151,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 45.124,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.10991,
    "h": 89.3
  },
  "luminance": 0.20348
}

Semantic roles & 50–950 ramp

primary
#97791E
secondary
#516CC0
accent
#69EA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #97791E

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

Preview Lab → · Contrast checker → · Palette generator →

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