#97A725#97A725

#97A725 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.3% C 0.147 H 116.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#97A725
RGBrgb(151, 167, 37)
HSLhsl(67, 64%, 40%)
HSVhsv(67, 78%, 65%)
CMYKcmyk(9.6%, 0%, 77.8%, 34.5%)
CIE-LABlab(65.24, -21.83, 60.09)
CIE-LCHlch(65.24, 63.94, 109.96°)
OKLaboklab(69.29% -0.0662 0.1317)
OKLCHoklch(69.29% 0.147 116.7)
XYZxyz(26.9159, 34.3507, 6.9623)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A725 #3525A7
analogous
#A77625 #97A725 #56A725
triadic
#97A725 #2597A7 #A72597
tetradic
#97A725 #25A776 #3525A7 #A72556
square
#97A725 #25A776 #3525A7 #A72556
split-complementary
#97A725 #2556A7 #7625A7
monochromatic
#3C430F #6A751A #97A725 #BFD337 #CFDE69

Accessibility & contrast

On white

2.67
#97A725 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#97A725 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A725
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A725#FFFFFF#000000##000000
##97A7251.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#A19D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a725;
/* rgb */ color: rgb(151, 167, 37);
/* oklch */ color: oklch(69.3% 0.147 116.7);
Tailwind
colors: {
  custom: {
    50: '#b9c16b',
    500: '#97a725',
    950: '#000000',
  },
}
SCSS
$custom: #97a725;
$custom-light: #b9c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a725",
  "rgb": {
    "r": 151,
    "g": 167,
    "b": 37
  },
  "hsl": {
    "h": 67.385,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.69288,
    "c": 0.14738,
    "h": 116.7
  },
  "luminance": 0.3435
}

Semantic roles & 50–950 ramp

primary
#97A725
secondary
#7064C4
accent
#41E755
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A725

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

Preview Lab → · Contrast checker → · Palette generator →

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