#97A225#97A225

#97A225 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.1% C 0.142 H 114.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#97A225
RGBrgb(151, 162, 37)
HSLhsl(65, 63%, 39%)
HSVhsv(65, 77%, 64%)
CMYKcmyk(6.8%, 0%, 77.2%, 36.5%)
CIE-LABlab(63.80, -19.31, 58.77)
CIE-LCHlch(63.80, 61.86, 108.19°)
OKLaboklab(68.13% -0.0592 0.1289)
OKLCHoklch(68.13% 0.142 114.7)
XYZxyz(26.0175, 32.5540, 6.6629)
Luminance0.3255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A225 #3025A2
analogous
#A26F25 #97A225 #59A225
triadic
#97A225 #2597A2 #A22597
tetradic
#97A225 #25A26F #3025A2 #A22559
square
#97A225 #25A26F #3025A2 #A22559
split-complementary
#97A225 #2559A2 #6F25A2
monochromatic
#3A3E0E #69701A #97A225 #C3D134 #D2DC65

Accessibility & contrast

On white

2.80
#97A225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#97A225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A225
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A225#FFFFFF#000000##000000
##97A2251.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A03
Deuteranopia (green-blind)
#AD9C30
Tritanopia (blue-blind)
#A1988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a225;
/* rgb */ color: rgb(151, 162, 37);
/* oklch */ color: oklch(68.1% 0.142 114.7);
Tailwind
colors: {
  custom: {
    50: '#b9bd6a',
    500: '#97a225',
    950: '#000000',
  },
}
SCSS
$custom: #97a225;
$custom-light: #b9bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a225",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 65.28,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6813,
    "c": 0.14182,
    "h": 114.7
  },
  "luminance": 0.32554
}

Semantic roles & 50–950 ramp

primary
#97A225
secondary
#6A61C2
accent
#42E650
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A225

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

Preview Lab → · Contrast checker → · Palette generator →

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