#97A832#97A832

#97A832 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.6% C 0.141 H 117.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#97A832
RGBrgb(151, 168, 50)
HSLhsl(69, 54%, 43%)
HSVhsv(69, 70%, 66%)
CMYKcmyk(10.1%, 0%, 70.2%, 34.1%)
CIE-LABlab(65.60, -21.68, 55.91)
CIE-LCHlch(65.60, 59.96, 111.20°)
OKLaboklab(69.6% -0.0646 0.1251)
OKLCHoklch(69.6% 0.141 117.3)
XYZxyz(27.3415, 34.8152, 8.2966)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A832 #4332A8
analogous
#A87E32 #97A832 #5CA832
triadic
#97A832 #3297A8 #A83297
tetradic
#97A832 #32A87E #4332A8 #A8325C
square
#97A832 #32A87E #4332A8 #A8325C
split-complementary
#97A832 #325CA8 #7E32A8
monochromatic
#424A16 #6D7924 #97A832 #B8CA4D #CBD87C

Accessibility & contrast

On white

2.64
#97A832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#97A832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A832
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A832#FFFFFF#000000##000000
##97A8321.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1F
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#A09F91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a832;
/* rgb */ color: rgb(151, 168, 50);
/* oklch */ color: oklch(69.6% 0.141 117.3);
Tailwind
colors: {
  custom: {
    50: '#b9c171',
    500: '#97a832',
    950: '#000000',
  },
}
SCSS
$custom: #97a832;
$custom-light: #b9c171;
$custom-dark: #000000;
JSON
{
  "hex": "#97a832",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 68.644,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69605,
    "c": 0.14079,
    "h": 117.3
  },
  "luminance": 0.34815
}

Semantic roles & 50–950 ramp

primary
#97A832
secondary
#8075C1
accent
#4ADD60
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A832

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

Preview Lab → · Contrast checker → · Palette generator →

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