#97A830#97A830

#97A830 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.6% C 0.142 H 117.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#97A830
RGBrgb(151, 168, 48)
HSLhsl(69, 56%, 42%)
HSVhsv(69, 71%, 66%)
CMYKcmyk(10.1%, 0%, 71.4%, 34.1%)
CIE-LABlab(65.59, -21.79, 56.65)
CIE-LCHlch(65.59, 60.70, 111.04°)
OKLaboklab(69.59% -0.0651 0.1263)
OKLCHoklch(69.59% 0.142 117.3)
XYZxyz(27.2993, 34.7983, 8.0744)
Luminance0.3480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A830 #4130A8
analogous
#A87D30 #97A830 #5BA830
triadic
#97A830 #3097A8 #A83097
tetradic
#97A830 #30A87D #4130A8 #A8305B
square
#97A830 #30A87D #4130A8 #A8305B
split-complementary
#97A830 #305BA8 #7D30A8
monochromatic
#414915 #6C7822 #97A830 #B9CB4A #CBD97A

Accessibility & contrast

On white

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

On black

7.96
#97A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A830
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A830#FFFFFF#000000##000000
##97A8301.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1B
Deuteranopia (green-blind)
#B2A03A
Tritanopia (blue-blind)
#A09F91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a830;
/* rgb */ color: rgb(151, 168, 48);
/* oklch */ color: oklch(69.6% 0.142 117.3);
Tailwind
colors: {
  custom: {
    50: '#b9c170',
    500: '#97a830',
    950: '#000000',
  },
}
SCSS
$custom: #97a830;
$custom-light: #b9c170;
$custom-dark: #000000;
JSON
{
  "hex": "#97a830",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 68.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69591,
    "c": 0.14211,
    "h": 117.3
  },
  "luminance": 0.34798
}

Semantic roles & 50–950 ramp

primary
#97A830
secondary
#7E73C1
accent
#49DF5E
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A830

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

Preview Lab → · Contrast checker → · Palette generator →

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