#97991F#97991F

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

Color values

HEX#97991F
RGBrgb(151, 153, 31)
HSLhsl(61, 66%, 36%)
HSVhsv(61, 80%, 60%)
CMYKcmyk(1.3%, 0%, 79.7%, 40%)
CIE-LABlab(61.19, -14.92, 58.28)
CIE-LCHlch(61.19, 60.15, 104.36°)
OKLaboklab(66.03% -0.0476 0.1267)
OKLCHoklch(66.03% 0.135 110.6)
XYZxyz(24.4020, 29.4614, 5.6973)
Luminance0.2946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97991F #211F99
analogous
#995E1F #97991F #5A991F
triadic
#97991F #1F9799 #991F97
tetradic
#97991F #1F995E #211F99 #991F5A
square
#97991F #1F995E #211F99 #991F5A
split-complementary
#97991F #1F5A99 #5E1F99
monochromatic
#33330A #656615 #97991F #C9CC29 #DADD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97991F#FFFFFF#000000##000000
##97991F1.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)
#A7952A
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #97991f;
/* rgb */ color: rgb(151, 153, 31);
/* oklch */ color: oklch(66.0% 0.135 110.6);
Tailwind
colors: {
  custom: {
    50: '#b9b667',
    500: '#97991f',
    950: '#000000',
  },
}
SCSS
$custom: #97991f;
$custom-light: #b9b667;
$custom-dark: #000000;
JSON
{
  "hex": "#97991f",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 60.984,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66029,
    "c": 0.13533,
    "h": 110.6
  },
  "luminance": 0.29461
}

Semantic roles & 50–950 ramp

primary
#97991F
secondary
#5554C0
accent
#3FE941
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97991F

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

Preview Lab → · Contrast checker → · Palette generator →

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