#97A82D#97A82D

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

Color values

HEX#97A82D
RGBrgb(151, 168, 45)
HSLhsl(68, 58%, 42%)
HSVhsv(68, 73%, 66%)
CMYKcmyk(10.1%, 0%, 73.2%, 34.1%)
CIE-LABlab(65.57, -21.95, 57.72)
CIE-LCHlch(65.57, 61.76, 110.82°)
OKLaboklab(69.57% -0.0659 0.1281)
OKLCHoklch(69.57% 0.144 117.2)
XYZxyz(27.2394, 34.7744, 7.7593)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A82D #3E2DA8
analogous
#A87C2D #97A82D #5AA82D
triadic
#97A82D #2D97A8 #A82D97
tetradic
#97A82D #2DA87C #3E2DA8 #A82D5A
square
#97A82D #2DA87C #3E2DA8 #A82D5A
split-complementary
#97A82D #2D5AA8 #7C2DA8
monochromatic
#404713 #6C7820 #97A82D #BACD45 #CCDA75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A82D#FFFFFF#000000##000000
##97A82D1.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)
#B49F15
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#A09E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a82d;
/* rgb */ color: rgb(151, 168, 45);
/* oklch */ color: oklch(69.6% 0.144 117.2);
Tailwind
colors: {
  custom: {
    50: '#b9c16f',
    500: '#97a82d',
    950: '#000000',
  },
}
SCSS
$custom: #97a82d;
$custom-light: #b9c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#97a82d",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 68.293,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6957,
    "c": 0.144,
    "h": 117.2
  },
  "luminance": 0.34774
}

Semantic roles & 50–950 ramp

primary
#97A82D
secondary
#7A6FC2
accent
#47E15C
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A82D

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

Preview Lab → · Contrast checker → · Palette generator →

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