#97A91C#97A91C

#97A91C is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.7% C 0.154 H 117.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#97A91C
RGBrgb(151, 169, 28)
HSLhsl(68, 72%, 39%)
HSVhsv(68, 83%, 66%)
CMYKcmyk(10.7%, 0%, 83.4%, 33.7%)
CIE-LABlab(65.78, -23.16, 63.11)
CIE-LCHlch(65.78, 67.23, 110.15°)
OKLaboklab(69.71% -0.0705 0.1365)
OKLCHoklch(69.71% 0.154 117.3)
XYZxyz(27.1608, 35.0394, 6.4308)
Luminance0.3504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A91C #2E1CA9
analogous
#A9741C #97A91C #50A91C
triadic
#97A91C #1C97A9 #A91C97
tetradic
#97A91C #1CA974 #2E1CA9 #A91C50
square
#97A91C #1CA974 #2E1CA9 #A91C50
split-complementary
#97A91C #1C50A9 #741CA9
monochromatic
#39400B #687413 #97A91C #C4DB27 #D2E45B

Accessibility & contrast

On white

2.62
#97A91C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#97A91C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A91C
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A91C#FFFFFF#000000##000000
##97A91C1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B3A12B
Tritanopia (blue-blind)
#A19F90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #97a91c;
/* rgb */ color: rgb(151, 169, 28);
/* oklch */ color: oklch(69.7% 0.154 117.3);
Tailwind
colors: {
  custom: {
    50: '#b9c268',
    500: '#97a91c',
    950: '#000000',
  },
}
SCSS
$custom: #97a91c;
$custom-light: #b9c268;
$custom-dark: #000000;
JSON
{
  "hex": "#97a91c",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 28
  },
  "hsl": {
    "h": 67.66,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6971,
    "c": 0.15368,
    "h": 117.3
  },
  "luminance": 0.35039
}

Semantic roles & 50–950 ramp

primary
#97A91C
secondary
#6759C8
accent
#39EE51
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A91C

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

Preview Lab → · Contrast checker → · Palette generator →

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