#97911B#97911B

#97911B is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.2% C 0.129 H 106.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#97911B
RGBrgb(151, 145, 27)
HSLhsl(57, 70%, 35%)
HSVhsv(57, 82%, 59%)
CMYKcmyk(0%, 4%, 82.1%, 40.8%)
CIE-LABlab(58.89, -10.84, 57.43)
CIE-LCHlch(58.89, 58.45, 100.69°)
OKLaboklab(64.19% -0.0365 0.1241)
OKLCHoklch(64.19% 0.129 106.4)
XYZxyz(23.0867, 26.9101, 5.0148)
Luminance0.2691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97911B #1B2197
analogous
#97531B #97911B #5F971B
triadic
#97911B #1B9791 #911B97
tetradic
#97911B #1B9753 #1B2197 #971B5F
square
#97911B #1B9753 #1B2197 #971B5F
split-complementary
#97911B #1B5F97 #531B97
monochromatic
#2F2D08 #635F12 #97911B #CBC324 #DFD84D

Accessibility & contrast

On white

3.29
#97911B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#97911B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97911B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97911B#FFFFFF#000000##000000
##97911B1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A19026
Tritanopia (blue-blind)
#A3877C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #97911b;
/* rgb */ color: rgb(151, 145, 27);
/* oklch */ color: oklch(64.2% 0.129 106.4);
Tailwind
colors: {
  custom: {
    50: '#b9b064',
    500: '#97911b',
    950: '#000000',
  },
}
SCSS
$custom: #97911b;
$custom-light: #b9b064;
$custom-dark: #000000;
JSON
{
  "hex": "#97911b",
  "rgb": {
    "r": 151,
    "g": 145,
    "b": 27
  },
  "hsl": {
    "h": 57.097,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6419,
    "c": 0.12938,
    "h": 106.4
  },
  "luminance": 0.26909
}

Semantic roles & 50–950 ramp

primary
#97911B
secondary
#4C52C1
accent
#44EC3B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97911B

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

Preview Lab → · Contrast checker → · Palette generator →

#97911B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva