#97A82B#97A82B

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

Color values

HEX#97A82B
RGBrgb(151, 168, 43)
HSLhsl(68, 59%, 41%)
HSVhsv(68, 74%, 66%)
CMYKcmyk(10.1%, 0%, 74.4%, 34.1%)
CIE-LABlab(65.56, -22.05, 58.42)
CIE-LCHlch(65.56, 62.44, 110.68°)
OKLaboklab(69.56% -0.0663 0.1292)
OKLCHoklch(69.56% 0.145 117.2)
XYZxyz(27.2018, 34.7593, 7.5613)
Luminance0.3476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A82B #3C2BA8
analogous
#A87B2B #97A82B #59A82B
triadic
#97A82B #2B97A8 #A82B97
tetradic
#97A82B #2BA87B #3C2BA8 #A82B59
square
#97A82B #2BA87B #3C2BA8 #A82B59
split-complementary
#97A82B #2B59A8 #7B2BA8
monochromatic
#3F4712 #6B771F #97A82B #BBCF42 #CDDB72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A82B#FFFFFF#000000##000000
##97A82B1.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)
#B49F10
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#A19E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a82b;
/* rgb */ color: rgb(151, 168, 43);
/* oklch */ color: oklch(69.6% 0.145 117.2);
Tailwind
colors: {
  custom: {
    50: '#b9c16e',
    500: '#97a82b',
    950: '#000000',
  },
}
SCSS
$custom: #97a82b;
$custom-light: #b9c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a82b",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 68.16,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69556,
    "c": 0.14521,
    "h": 117.2
  },
  "luminance": 0.34759
}

Semantic roles & 50–950 ramp

primary
#97A82B
secondary
#786CC2
accent
#45E25B
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A82B

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

Preview Lab → · Contrast checker → · Palette generator →

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