#97A11C#97A11C

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

Color values

HEX#97A11C
RGBrgb(151, 161, 28)
HSLhsl(65, 70%, 37%)
HSVhsv(65, 83%, 63%)
CMYKcmyk(6.2%, 0%, 82.6%, 36.9%)
CIE-LABlab(63.47, -19.14, 61.12)
CIE-LCHlch(63.47, 64.05, 107.39°)
OKLaboklab(67.85% -0.0595 0.1323)
OKLCHoklch(67.85% 0.145 114.2)
XYZxyz(25.7178, 32.1534, 5.9498)
Luminance0.3215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A11C #261CA1
analogous
#A1681C #97A11C #55A11C
triadic
#97A11C #1C97A1 #A11C97
tetradic
#97A11C #1CA168 #261CA1 #A11C55
square
#97A11C #1CA168 #261CA1 #A11C55
split-complementary
#97A11C #1C55A1 #681CA1
monochromatic
#35390A #666D13 #97A11C #C8D525 #D7E256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A11C#FFFFFF#000000##000000
##97A11C1.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)
#AD9B2A
Tritanopia (blue-blind)
#A29789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a11c;
/* rgb */ color: rgb(151, 161, 28);
/* oklch */ color: oklch(67.9% 0.145 114.2);
Tailwind
colors: {
  custom: {
    50: '#b9bc66',
    500: '#97a11c',
    950: '#000000',
  },
}
SCSS
$custom: #97a11c;
$custom-light: #b9bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#97a11c",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 64.511,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67854,
    "c": 0.14502,
    "h": 114.2
  },
  "luminance": 0.32153
}

Semantic roles & 50–950 ramp

primary
#97A11C
secondary
#5C54C5
accent
#3BED48
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A11C

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

Preview Lab → · Contrast checker → · Palette generator →

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