#97A431#97A431

#97A431 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.7% C 0.137 H 115.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#97A431
RGBrgb(151, 164, 49)
HSLhsl(67, 54%, 42%)
HSVhsv(67, 70%, 64%)
CMYKcmyk(7.9%, 0%, 70.1%, 35.7%)
CIE-LABlab(64.45, -19.72, 55.13)
CIE-LCHlch(64.45, 58.56, 109.68°)
OKLaboklab(68.67% -0.0593 0.1233)
OKLCHoklch(68.67% 0.137 115.7)
XYZxyz(26.5930, 33.3524, 7.9419)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A431 #3E31A4
analogous
#A47831 #97A431 #5DA431
triadic
#97A431 #3197A4 #A43197
tetradic
#97A431 #31A478 #3E31A4 #A4315D
square
#97A431 #31A478 #3E31A4 #A4315D
split-complementary
#97A431 #315DA4 #7831A4
monochromatic
#404615 #6C7523 #97A431 #BAC949 #CCD779

Accessibility & contrast

On white

2.74
#97A431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#97A431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A431
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A431#FFFFFF#000000##000000
##97A4311.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1E
Deuteranopia (green-blind)
#AF9D3A
Tritanopia (blue-blind)
#A19B8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a431;
/* rgb */ color: rgb(151, 164, 49);
/* oklch */ color: oklch(68.7% 0.137 115.7);
Tailwind
colors: {
  custom: {
    50: '#b9be70',
    500: '#97a431',
    950: '#000000',
  },
}
SCSS
$custom: #97a431;
$custom-light: #b9be70;
$custom-dark: #000000;
JSON
{
  "hex": "#97a431",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 66.783,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68672,
    "c": 0.13681,
    "h": 115.7
  },
  "luminance": 0.33352
}

Semantic roles & 50–950 ramp

primary
#97A431
secondary
#7A72BF
accent
#4ADD5B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A431

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

Preview Lab → · Contrast checker → · Palette generator →

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