#97A825#97A825

#97A825 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.5% C 0.148 H 117.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#97A825
RGBrgb(151, 168, 37)
HSLhsl(68, 64%, 40%)
HSVhsv(68, 78%, 66%)
CMYKcmyk(10.1%, 0%, 78%, 34.1%)
CIE-LABlab(65.53, -22.33, 60.36)
CIE-LCHlch(65.53, 64.35, 110.30°)
OKLaboklab(69.52% -0.0676 0.1322)
OKLCHoklch(69.52% 0.148 117.1)
XYZxyz(27.0998, 34.7185, 7.0236)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A825 #3625A8
analogous
#A87725 #97A825 #56A825
triadic
#97A825 #2597A8 #A82597
tetradic
#97A825 #25A877 #3625A8 #A82556
square
#97A825 #25A877 #3625A8 #A82556
split-complementary
#97A825 #2556A8 #7725A8
monochromatic
#3D440F #6A761A #97A825 #BFD337 #CFDE69

Accessibility & contrast

On white

2.64
#97A825 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#97A825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A825
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A825#FFFFFF#000000##000000
##97A8251.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B2A031
Tritanopia (blue-blind)
#A19E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a825;
/* rgb */ color: rgb(151, 168, 37);
/* oklch */ color: oklch(69.5% 0.148 117.1);
Tailwind
colors: {
  custom: {
    50: '#b9c16b',
    500: '#97a825',
    950: '#000000',
  },
}
SCSS
$custom: #97a825;
$custom-light: #b9c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a825",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 67.786,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69521,
    "c": 0.14849,
    "h": 117.1
  },
  "luminance": 0.34718
}

Semantic roles & 50–950 ramp

primary
#97A825
secondary
#7165C4
accent
#41E756
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A825

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

Preview Lab → · Contrast checker → · Palette generator →

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