#97A829#97A829

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

Color values

HEX#97A829
RGBrgb(151, 168, 41)
HSLhsl(68, 61%, 41%)
HSVhsv(68, 76%, 66%)
CMYKcmyk(10.1%, 0%, 75.6%, 34.1%)
CIE-LABlab(65.55, -22.15, 59.09)
CIE-LCHlch(65.55, 63.10, 110.55°)
OKLaboklab(69.54% -0.0668 0.1302)
OKLCHoklch(69.54% 0.146 117.1)
XYZxyz(27.1660, 34.7450, 7.3727)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A829 #3A29A8
analogous
#A87929 #97A829 #58A829
triadic
#97A829 #2997A8 #A82997
tetradic
#97A829 #29A879 #3A29A8 #A82958
square
#97A829 #29A879 #3A29A8 #A82958
split-complementary
#97A829 #2958A8 #7929A8
monochromatic
#3F4611 #6B771D #97A829 #BCD03E #CDDC6F

Accessibility & contrast

On white

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

On black

7.95
#97A829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A829
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A829#FFFFFF#000000##000000
##97A8291.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a829;
/* rgb */ color: rgb(151, 168, 41);
/* oklch */ color: oklch(69.5% 0.146 117.1);
Tailwind
colors: {
  custom: {
    50: '#b9c16d',
    500: '#97a829',
    950: '#000000',
  },
}
SCSS
$custom: #97a829;
$custom-light: #b9c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a829",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 68.031,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69544,
    "c": 0.14635,
    "h": 117.1
  },
  "luminance": 0.34745
}

Semantic roles & 50–950 ramp

primary
#97A829
secondary
#766AC3
accent
#44E459
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A829

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

Preview Lab → · Contrast checker → · Palette generator →

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