#97A82A#97A82A

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

Color values

HEX#97A82A
RGBrgb(151, 168, 42)
HSLhsl(68, 60%, 41%)
HSVhsv(68, 75%, 66%)
CMYKcmyk(10.1%, 0%, 75%, 34.1%)
CIE-LABlab(65.56, -22.10, 58.75)
CIE-LCHlch(65.56, 62.77, 110.62°)
OKLaboklab(69.55% -0.0665 0.1297)
OKLCHoklch(69.55% 0.146 117.2)
XYZxyz(27.1837, 34.7521, 7.4658)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A82A #3B2AA8
analogous
#A87A2A #97A82A #58A82A
triadic
#97A82A #2A97A8 #A82A97
tetradic
#97A82A #2AA87A #3B2AA8 #A82A58
square
#97A82A #2AA87A #3B2AA8 #A82A58
split-complementary
#97A82A #2A58A8 #7A2AA8
monochromatic
#3F4612 #6B771E #97A82A #BCCF40 #CDDB71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A82A#FFFFFF#000000##000000
##97A82A1.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)
#B49F0E
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#A19E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a82a;
/* rgb */ color: rgb(151, 168, 42);
/* oklch */ color: oklch(69.5% 0.146 117.2);
Tailwind
colors: {
  custom: {
    50: '#b9c16d',
    500: '#97a82a',
    950: '#000000',
  },
}
SCSS
$custom: #97a82a;
$custom-light: #b9c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a82a",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 68.095,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6955,
    "c": 0.14578,
    "h": 117.2
  },
  "luminance": 0.34752
}

Semantic roles & 50–950 ramp

primary
#97A82A
secondary
#776BC3
accent
#45E35A
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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