#97991C#97991C

#97991C is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.0% C 0.137 H 110.6°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#97991C
RGBrgb(151, 153, 28)
HSLhsl(61, 69%, 35%)
HSVhsv(61, 82%, 60%)
CMYKcmyk(1.3%, 0%, 81.7%, 40%)
CIE-LABlab(61.17, -15.02, 59.13)
CIE-LCHlch(61.17, 61.01, 104.26°)
OKLaboklab(66.02% -0.0481 0.128)
OKLCHoklch(66.02% 0.137 110.6)
XYZxyz(24.3642, 29.4463, 5.4987)
Luminance0.2945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97991C #1E1C99
analogous
#995C1C #97991C #58991C
triadic
#97991C #1C9799 #991C97
tetradic
#97991C #1C995C #1E1C99 #991C58
square
#97991C #1C995C #1E1C99 #991C58
split-complementary
#97991C #1C5899 #5C1C99
monochromatic
#313209 #646513 #97991C #CACD25 #DDDF50

Accessibility & contrast

On white

3.05
#97991C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#97991C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #97991C
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97991C#FFFFFF#000000##000000
##97991C1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A79528
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #97991c;
/* rgb */ color: rgb(151, 153, 28);
/* oklch */ color: oklch(66.0% 0.137 110.6);
Tailwind
colors: {
  custom: {
    50: '#b9b665',
    500: '#97991c',
    950: '#000000',
  },
}
SCSS
$custom: #97991c;
$custom-light: #b9b665;
$custom-dark: #000000;
JSON
{
  "hex": "#97991c",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 60.96,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66015,
    "c": 0.13671,
    "h": 110.6
  },
  "luminance": 0.29446
}

Semantic roles & 50–950 ramp

primary
#97991C
secondary
#514FC2
accent
#3CEC3F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97991C

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

Preview Lab → · Contrast checker → · Palette generator →

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