#97A32B#97A32B

#97A32B is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.4% C 0.140 H 115.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#97A32B
RGBrgb(151, 163, 43)
HSLhsl(66, 58%, 40%)
HSVhsv(66, 74%, 64%)
CMYKcmyk(7.4%, 0%, 73.6%, 36.1%)
CIE-LABlab(64.12, -19.54, 57.04)
CIE-LCHlch(64.12, 60.29, 108.91°)
OKLaboklab(68.4% -0.0594 0.1263)
OKLCHoklch(68.4% 0.14 115.2)
XYZxyz(26.2965, 32.9486, 7.2595)
Luminance0.3295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A32B #372BA3
analogous
#A3732B #97A32B #5BA32B
triadic
#97A32B #2B97A3 #A32B97
tetradic
#97A32B #2BA373 #372BA3 #A32B5B
square
#97A32B #2BA373 #372BA3 #A32B5B
split-complementary
#97A32B #2B5BA3 #732BA3
monochromatic
#3D4211 #6A731E #97A32B #BECC3F #CFD96F

Accessibility & contrast

On white

2.77
#97A32B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#97A32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A32B
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A32B#FFFFFF#000000##000000
##97A32B1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B13
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#A1998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a32b;
/* rgb */ color: rgb(151, 163, 43);
/* oklch */ color: oklch(68.4% 0.140 115.2);
Tailwind
colors: {
  custom: {
    50: '#b9be6d',
    500: '#97a32b',
    950: '#000000',
  },
}
SCSS
$custom: #97a32b;
$custom-light: #b9be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a32b",
  "rgb": {
    "r": 151,
    "g": 163,
    "b": 43
  },
  "hsl": {
    "h": 66,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68399,
    "c": 0.13952,
    "h": 115.2
  },
  "luminance": 0.32948
}

Semantic roles & 50–950 ramp

primary
#97A32B
secondary
#726AC0
accent
#46E156
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A32B

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

Preview Lab → · Contrast checker → · Palette generator →

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