#97A116#97A116

#97A116 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.8% C 0.147 H 114.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#97A116
RGBrgb(151, 161, 22)
HSLhsl(64, 76%, 36%)
HSVhsv(64, 86%, 63%)
CMYKcmyk(6.2%, 0%, 86.3%, 36.9%)
CIE-LABlab(63.45, -19.32, 62.56)
CIE-LCHlch(63.45, 65.48, 107.16°)
OKLaboklab(67.83% -0.0604 0.1344)
OKLCHoklch(67.83% 0.147 114.2)
XYZxyz(25.6530, 32.1275, 5.6088)
Luminance0.3213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A116 #2016A1
analogous
#A16616 #97A116 #51A116
triadic
#97A116 #1697A1 #A11697
tetradic
#97A116 #16A166 #2016A1 #A11651
square
#97A116 #16A166 #2016A1 #A11651
split-complementary
#97A116 #1651A1 #6616A1
monochromatic
#323507 #646B0F #97A116 #C9D71D #DBE64B

Accessibility & contrast

On white

2.83
#97A116 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#97A116 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A116
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A116#FFFFFF#000000##000000
##97A1161.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AD9B26
Tritanopia (blue-blind)
#A29789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a116;
/* rgb */ color: rgb(151, 161, 22);
/* oklch */ color: oklch(67.8% 0.147 114.2);
Tailwind
colors: {
  custom: {
    50: '#babc64',
    500: '#97a116',
    950: '#000000',
  },
}
SCSS
$custom: #97a116;
$custom-light: #babc64;
$custom-dark: #000000;
JSON
{
  "hex": "#97a116",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 22
  },
  "hsl": {
    "h": 64.317,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6783,
    "c": 0.1473,
    "h": 114.2
  },
  "luminance": 0.32127
}

Semantic roles & 50–950 ramp

primary
#97A116
secondary
#544BC8
accent
#35F343
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #97A116

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

Preview Lab → · Contrast checker → · Palette generator →

#97A116 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva