#97A117#97A117

#97A117 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#97A117
RGBrgb(151, 161, 23)
HSLhsl(64, 75%, 36%)
HSVhsv(64, 86%, 63%)
CMYKcmyk(6.2%, 0%, 85.7%, 36.9%)
CIE-LABlab(63.45, -19.30, 62.34)
CIE-LCHlch(63.45, 65.26, 107.20°)
OKLaboklab(67.83% -0.0602 0.134)
OKLCHoklch(67.83% 0.147 114.2)
XYZxyz(25.6629, 32.1314, 5.6606)
Luminance0.3213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A117 #2117A1
analogous
#A16617 #97A117 #52A117
triadic
#97A117 #1797A1 #A11797
tetradic
#97A117 #17A166 #2117A1 #A11752
square
#97A117 #17A166 #2117A1 #A11752
split-complementary
#97A117 #1752A1 #6617A1
monochromatic
#333608 #656B0F #97A117 #C9D71F #DAE64D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A117#FFFFFF#000000##000000
##97A1171.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)
#AD9900
Deuteranopia (green-blind)
#AD9B27
Tritanopia (blue-blind)
#A29789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a117;
/* rgb */ color: rgb(151, 161, 23);
/* oklch */ color: oklch(67.8% 0.147 114.2);
Tailwind
colors: {
  custom: {
    50: '#babc65',
    500: '#97a117',
    950: '#000000',
  },
}
SCSS
$custom: #97a117;
$custom-light: #babc65;
$custom-dark: #000000;
JSON
{
  "hex": "#97a117",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 23
  },
  "hsl": {
    "h": 64.348,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.67834,
    "c": 0.14695,
    "h": 114.2
  },
  "luminance": 0.32131
}

Semantic roles & 50–950 ramp

primary
#97A117
secondary
#554CC7
accent
#36F244
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #97A117

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

Preview Lab → · Contrast checker → · Palette generator →

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