#97921B#97921B

#97921B is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.4% C 0.130 H 107.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#97921B
RGBrgb(151, 146, 27)
HSLhsl(58, 70%, 35%)
HSVhsv(58, 82%, 59%)
CMYKcmyk(0%, 3.3%, 82.1%, 40.8%)
CIE-LABlab(59.17, -11.37, 57.68)
CIE-LCHlch(59.17, 58.79, 101.15°)
OKLaboklab(64.42% -0.038 0.1247)
OKLCHoklch(64.42% 0.13 107)
XYZxyz(23.2402, 27.2171, 5.0659)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97921B #1B2097
analogous
#97541B #97921B #5E971B
triadic
#97921B #1B9792 #921B97
tetradic
#97921B #1B9754 #1B2097 #971B5E
square
#97921B #1B9754 #1B2097 #971B5E
split-complementary
#97921B #1B5E97 #541B97
monochromatic
#2F2E08 #636012 #97921B #CBC424 #DFD94D

Accessibility & contrast

On white

3.26
#97921B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#97921B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97921B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97921B#FFFFFF#000000##000000
##97921B1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97921b;
/* rgb */ color: rgb(151, 146, 27);
/* oklch */ color: oklch(64.4% 0.130 107.0);
Tailwind
colors: {
  custom: {
    50: '#b9b164',
    500: '#97921b',
    950: '#000000',
  },
}
SCSS
$custom: #97921b;
$custom-light: #b9b164;
$custom-dark: #000000;
JSON
{
  "hex": "#97921b",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 27
  },
  "hsl": {
    "h": 57.581,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.64417,
    "c": 0.13032,
    "h": 107
  },
  "luminance": 0.27216
}

Semantic roles & 50–950 ramp

primary
#97921B
secondary
#4C51C1
accent
#42EC3B
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #97921B

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

Preview Lab → · Contrast checker → · Palette generator →

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