#97A82F#97A82F

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

Color values

HEX#97A82F
RGBrgb(151, 168, 47)
HSLhsl(68, 56%, 42%)
HSVhsv(68, 72%, 66%)
CMYKcmyk(10.1%, 0%, 72%, 34.1%)
CIE-LABlab(65.58, -21.85, 57.01)
CIE-LCHlch(65.58, 61.05, 110.97°)
OKLaboklab(69.58% -0.0654 0.1269)
OKLCHoklch(69.58% 0.143 117.3)
XYZxyz(27.2789, 34.7901, 7.9669)
Luminance0.3479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A82F #402FA8
analogous
#A87D2F #97A82F #5AA82F
triadic
#97A82F #2F97A8 #A82F97
tetradic
#97A82F #2FA87D #402FA8 #A82F5A
square
#97A82F #2FA87D #402FA8 #A82F5A
split-complementary
#97A82F #2F5AA8 #7D2FA8
monochromatic
#414814 #6C7822 #97A82F #B9CC48 #CCD978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A82F#FFFFFF#000000##000000
##97A82F1.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)
#B39F19
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#A09F90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a82f;
/* rgb */ color: rgb(151, 168, 47);
/* oklch */ color: oklch(69.6% 0.143 117.3);
Tailwind
colors: {
  custom: {
    50: '#b9c170',
    500: '#97a82f',
    950: '#000000',
  },
}
SCSS
$custom: #97a82f;
$custom-light: #b9c170;
$custom-dark: #000000;
JSON
{
  "hex": "#97a82f",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 68.43,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69583,
    "c": 0.14276,
    "h": 117.3
  },
  "luminance": 0.3479
}

Semantic roles & 50–950 ramp

primary
#97A82F
secondary
#7D71C1
accent
#48E05D
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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