#97A031#97A031

#97A031 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.8% C 0.132 H 113.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#97A031
RGBrgb(151, 160, 49)
HSLhsl(65, 53%, 41%)
HSVhsv(65, 69%, 63%)
CMYKcmyk(5.6%, 0%, 69.4%, 37.3%)
CIE-LABlab(63.30, -17.68, 53.99)
CIE-LCHlch(63.30, 56.81, 108.14°)
OKLaboklab(67.75% -0.0536 0.1209)
OKLCHoklch(67.75% 0.132 113.9)
XYZxyz(25.8884, 31.9432, 7.7070)
Luminance0.3194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A031 #3A31A0
analogous
#A07131 #97A031 #5FA031
triadic
#97A031 #3197A0 #A03197
tetradic
#97A031 #31A071 #3A31A0 #A0315F
square
#97A031 #31A071 #3A31A0 #A0315F
split-complementary
#97A031 #315FA0 #7131A0
monochromatic
#3F4214 #6B7123 #97A031 #BCC747 #CDD576

Accessibility & contrast

On white

2.84
#97A031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#97A031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A031
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A031#FFFFFF#000000##000000
##97A0311.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9820
Deuteranopia (green-blind)
#AB9A39
Tritanopia (blue-blind)
#A1978A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a031;
/* rgb */ color: rgb(151, 160, 49);
/* oklch */ color: oklch(67.8% 0.132 113.9);
Tailwind
colors: {
  custom: {
    50: '#b9bc70',
    500: '#97a031',
    950: '#000000',
  },
}
SCSS
$custom: #97a031;
$custom-light: #b9bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#97a031",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 64.865,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67751,
    "c": 0.13222,
    "h": 113.9
  },
  "luminance": 0.31943
}

Semantic roles & 50–950 ramp

primary
#97A031
secondary
#7670BD
accent
#4BDD57
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #97A031

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

Preview Lab → · Contrast checker → · Palette generator →

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