#97A923#97A923

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

Color values

HEX#97A923
RGBrgb(151, 169, 35)
HSLhsl(68, 66%, 40%)
HSVhsv(68, 79%, 66%)
CMYKcmyk(10.7%, 0%, 79.3%, 33.7%)
CIE-LABlab(65.81, -22.91, 61.22)
CIE-LCHlch(65.81, 65.36, 110.52°)
OKLaboklab(69.74% -0.0693 0.1337)
OKLCHoklch(69.74% 0.151 117.4)
XYZxyz(27.2545, 35.0769, 6.9245)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A923 #3523A9
analogous
#A97823 #97A923 #54A923
triadic
#97A923 #2397A9 #A92397
tetradic
#97A923 #23A978 #3523A9 #A92354
square
#97A923 #23A978 #3523A9 #A92354
split-complementary
#97A923 #2354A9 #7823A9
monochromatic
#3C440E #6A7619 #97A923 #BFD534 #CFDF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A923#FFFFFF#000000##000000
##97A9231.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)
#B59F00
Deuteranopia (green-blind)
#B3A130
Tritanopia (blue-blind)
#A19F90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #97a923;
/* rgb */ color: rgb(151, 169, 35);
/* oklch */ color: oklch(69.7% 0.151 117.4);
Tailwind
colors: {
  custom: {
    50: '#b9c26a',
    500: '#97a923',
    950: '#000000',
  },
}
SCSS
$custom: #97a923;
$custom-light: #b9c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a923",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 35
  },
  "hsl": {
    "h": 68.06,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.69742,
    "c": 0.15061,
    "h": 117.4
  },
  "luminance": 0.35077
}

Semantic roles & 50–950 ramp

primary
#97A923
secondary
#7063C5
accent
#3FE956
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A923

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

Preview Lab → · Contrast checker → · Palette generator →

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