#97A631#97A631

#97A631 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.1% C 0.139 H 116.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#97A631
RGBrgb(151, 166, 49)
HSLhsl(68, 54%, 42%)
HSVhsv(68, 70%, 65%)
CMYKcmyk(9%, 0%, 70.5%, 34.9%)
CIE-LABlab(65.02, -20.73, 55.71)
CIE-LCHlch(65.02, 59.44, 110.41°)
OKLaboklab(69.14% -0.0621 0.1245)
OKLCHoklch(69.14% 0.139 116.5)
XYZxyz(26.9537, 34.0739, 8.0621)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A631 #4031A6
analogous
#A67A31 #97A631 #5DA631
triadic
#97A631 #3197A6 #A63197
tetradic
#97A631 #31A67A #4031A6 #A6315D
square
#97A631 #31A67A #4031A6 #A6315D
split-complementary
#97A631 #315DA6 #7A31A6
monochromatic
#414715 #6C7723 #97A631 #B9CA4A #CCD87A

Accessibility & contrast

On white

2.69
#97A631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#97A631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A631
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A631#FFFFFF#000000##000000
##97A6311.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1E
Deuteranopia (green-blind)
#B09F3A
Tritanopia (blue-blind)
#A09D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a631;
/* rgb */ color: rgb(151, 166, 49);
/* oklch */ color: oklch(69.1% 0.139 116.5);
Tailwind
colors: {
  custom: {
    50: '#b9c071',
    500: '#97a631',
    950: '#000000',
  },
}
SCSS
$custom: #97a631;
$custom-light: #b9c071;
$custom-dark: #000000;
JSON
{
  "hex": "#97a631",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 67.692,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69135,
    "c": 0.13913,
    "h": 116.5
  },
  "luminance": 0.34073
}

Semantic roles & 50–950 ramp

primary
#97A631
secondary
#7D73C0
accent
#4ADE5D
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A631

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

Preview Lab → · Contrast checker → · Palette generator →

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