#97A22B#97A22B

#97A22B is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.138 H 114.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#97A22B
RGBrgb(151, 162, 43)
HSLhsl(66, 58%, 40%)
HSVhsv(66, 73%, 64%)
CMYKcmyk(6.8%, 0%, 73.5%, 36.5%)
CIE-LABlab(63.83, -19.03, 56.76)
CIE-LCHlch(63.83, 59.87, 108.53°)
OKLaboklab(68.17% -0.0579 0.1257)
OKLCHoklch(68.17% 0.138 114.8)
XYZxyz(26.1196, 32.5949, 7.2005)
Luminance0.3259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A22B #362BA2
analogous
#A2712B #97A22B #5CA22B
triadic
#97A22B #2B97A2 #A22B97
tetradic
#97A22B #2BA271 #362BA2 #A22B5C
square
#97A22B #2BA271 #362BA2 #A22B5C
split-complementary
#97A22B #2B5CA2 #712BA2
monochromatic
#3D4111 #6A721E #97A22B #BFCC3E #CFD96F

Accessibility & contrast

On white

2.79
#97A22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#97A22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A22B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A22B#FFFFFF#000000##000000
##97A22B1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#AD9C35
Tritanopia (blue-blind)
#A1988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a22b;
/* rgb */ color: rgb(151, 162, 43);
/* oklch */ color: oklch(68.2% 0.138 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9bd6d',
    500: '#97a22b',
    950: '#000000',
  },
}
SCSS
$custom: #97a22b;
$custom-light: #b9bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a22b",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 65.546,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68168,
    "c": 0.1384,
    "h": 114.8
  },
  "luminance": 0.32594
}

Semantic roles & 50–950 ramp

primary
#97A22B
secondary
#7169C0
accent
#47E155
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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