#97911C#97911C

#97911C 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#97911C
RGBrgb(151, 145, 28)
HSLhsl(57, 69%, 35%)
HSVhsv(57, 81%, 59%)
CMYKcmyk(0%, 4%, 81.5%, 40.8%)
CIE-LABlab(58.90, -10.80, 57.15)
CIE-LCHlch(58.90, 58.16, 100.70°)
OKLaboklab(64.2% -0.0364 0.1237)
OKLCHoklch(64.2% 0.129 106.4)
XYZxyz(23.0985, 26.9148, 5.0767)
Luminance0.2691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97911C #1C2297
analogous
#97531C #97911C #60971C
triadic
#97911C #1C9791 #911C97
tetradic
#97911C #1C9753 #1C2297 #971C60
square
#97911C #1C9753 #1C2297 #971C60
split-complementary
#97911C #1C6097 #531C97
monochromatic
#302E09 #635F12 #97911C #CBC326 #DED74F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97911C#FFFFFF#000000##000000
##97911C1.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: #97911c;
/* rgb */ color: rgb(151, 145, 28);
/* oklch */ color: oklch(64.2% 0.129 106.4);
Tailwind
colors: {
  custom: {
    50: '#b9b064',
    500: '#97911c',
    950: '#000000',
  },
}
SCSS
$custom: #97911c;
$custom-light: #b9b064;
$custom-dark: #000000;
JSON
{
  "hex": "#97911c",
  "rgb": {
    "r": 151,
    "g": 145,
    "b": 28
  },
  "hsl": {
    "h": 57.073,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64195,
    "c": 0.12892,
    "h": 106.4
  },
  "luminance": 0.26914
}

Semantic roles & 50–950 ramp

primary
#97911C
secondary
#4E53C1
accent
#45EC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97911C

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

Preview Lab → · Contrast checker → · Palette generator →

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