#97AB1C#97AB1C

#97AB1C is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.2% C 0.156 H 118.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#97AB1C
RGBrgb(151, 171, 28)
HSLhsl(68, 72%, 39%)
HSVhsv(68, 84%, 67%)
CMYKcmyk(11.7%, 0%, 83.6%, 32.9%)
CIE-LABlab(66.36, -24.15, 63.61)
CIE-LCHlch(66.36, 68.04, 110.79°)
OKLaboklab(70.18% -0.0732 0.1376)
OKLCHoklch(70.18% 0.156 118)
XYZxyz(27.5357, 35.7893, 6.5558)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB1C #301CAB
analogous
#AB781C #97AB1C #4FAB1C
triadic
#97AB1C #1C97AB #AB1C97
tetradic
#97AB1C #1CAB78 #301CAB #AB1C4F
square
#97AB1C #1CAB78 #301CAB #AB1C4F
split-complementary
#97AB1C #1C4FAB #781CAB
monochromatic
#3A420B #697613 #97AB1C #C3DC28 #D2E45D

Accessibility & contrast

On white

2.57
#97AB1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#97AB1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AB1C
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AB1C#FFFFFF#000000##000000
##97AB1C1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B5A22C
Tritanopia (blue-blind)
#A1A192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97ab1c;
/* rgb */ color: rgb(151, 171, 28);
/* oklch */ color: oklch(70.2% 0.156 118.0);
Tailwind
colors: {
  custom: {
    50: '#b9c368',
    500: '#97ab1c',
    950: '#000000',
  },
}
SCSS
$custom: #97ab1c;
$custom-light: #b9c368;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab1c",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 28
  },
  "hsl": {
    "h": 68.392,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70176,
    "c": 0.1559,
    "h": 118
  },
  "luminance": 0.35789
}

Semantic roles & 50–950 ramp

primary
#97AB1C
secondary
#6A5AC9
accent
#39EF53
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97AB1C

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

Preview Lab → · Contrast checker → · Palette generator →

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