#97A131#97A131

#97A131 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.133 H 114.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#97A131
RGBrgb(151, 161, 49)
HSLhsl(65, 53%, 41%)
HSVhsv(65, 70%, 63%)
CMYKcmyk(6.2%, 0%, 69.6%, 36.9%)
CIE-LABlab(63.58, -18.20, 54.27)
CIE-LCHlch(63.58, 57.24, 108.53°)
OKLaboklab(67.98% -0.055 0.1215)
OKLCHoklch(67.98% 0.133 114.4)
XYZxyz(26.0624, 32.2913, 7.7650)
Luminance0.3229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A131 #3B31A1
analogous
#A17331 #97A131 #5FA131
triadic
#97A131 #3197A1 #A13197
tetradic
#97A131 #31A173 #3B31A1 #A1315F
square
#97A131 #31A173 #3B31A1 #A1315F
split-complementary
#97A131 #315FA1 #7331A1
monochromatic
#3F4314 #6B7223 #97A131 #BCC748 #CDD677

Accessibility & contrast

On white

2.82
#97A131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#97A131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A131
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A131#FFFFFF#000000##000000
##97A1311.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991F
Deuteranopia (green-blind)
#AC9B39
Tritanopia (blue-blind)
#A1988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a131;
/* rgb */ color: rgb(151, 161, 49);
/* oklch */ color: oklch(68.0% 0.133 114.4);
Tailwind
colors: {
  custom: {
    50: '#b9bc70',
    500: '#97a131',
    950: '#000000',
  },
}
SCSS
$custom: #97a131;
$custom-light: #b9bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#97a131",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 65.357,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67981,
    "c": 0.13336,
    "h": 114.4
  },
  "luminance": 0.32291
}

Semantic roles & 50–950 ramp

primary
#97A131
secondary
#7770BE
accent
#4BDD58
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A131

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

Preview Lab → · Contrast checker → · Palette generator →

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