#97A927#97A927

#97A927 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.8% C 0.149 H 117.5°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#97A927
RGBrgb(151, 169, 39)
HSLhsl(68, 63%, 41%)
HSVhsv(68, 77%, 66%)
CMYKcmyk(10.7%, 0%, 76.9%, 33.7%)
CIE-LABlab(65.83, -22.74, 60.00)
CIE-LCHlch(65.83, 64.16, 110.76°)
OKLaboklab(69.76% -0.0686 0.1318)
OKLCHoklch(69.76% 0.149 117.5)
XYZxyz(27.3173, 35.1020, 7.2554)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A927 #3927A9
analogous
#A97A27 #97A927 #56A927
triadic
#97A927 #2797A9 #A92797
tetradic
#97A927 #27A97A #3927A9 #A92756
square
#97A927 #27A97A #3927A9 #A92756
split-complementary
#97A927 #2756A9 #7A27A9
monochromatic
#3E4610 #6B771C #97A927 #BDD23B #CEDD6D

Accessibility & contrast

On white

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

On black

8.02
#97A927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A927
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A927#FFFFFF#000000##000000
##97A9271.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A003
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#A19F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #97a927;
/* rgb */ color: rgb(151, 169, 39);
/* oklch */ color: oklch(69.8% 0.149 117.5);
Tailwind
colors: {
  custom: {
    50: '#b9c26c',
    500: '#97a927',
    950: '#000000',
  },
}
SCSS
$custom: #97a927;
$custom-light: #b9c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a927",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 68.308,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69764,
    "c": 0.14857,
    "h": 117.5
  },
  "luminance": 0.35102
}

Semantic roles & 50–950 ramp

primary
#97A927
secondary
#7568C4
accent
#42E659
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A927

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

Preview Lab → · Contrast checker → · Palette generator →

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