#97A32C#97A32C

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

Color values

HEX#97A32C
RGBrgb(151, 163, 44)
HSLhsl(66, 57%, 41%)
HSVhsv(66, 73%, 64%)
CMYKcmyk(7.4%, 0%, 73%, 36.1%)
CIE-LABlab(64.13, -19.49, 56.69)
CIE-LCHlch(64.13, 59.94, 108.97°)
OKLaboklab(68.41% -0.0591 0.1257)
OKLCHoklch(68.41% 0.139 115.2)
XYZxyz(26.3150, 32.9560, 7.3573)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A32C #382CA3
analogous
#A3732C #97A32C #5CA32C
triadic
#97A32C #2C97A3 #A32C97
tetradic
#97A32C #2CA373 #382CA3 #A32C5C
square
#97A32C #2CA373 #382CA3 #A32C5C
split-complementary
#97A32C #2C5CA3 #732CA3
monochromatic
#3E4312 #6A731F #97A32C #BECC41 #CED971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A32C#FFFFFF#000000##000000
##97A32C1.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)
#AF9B15
Deuteranopia (green-blind)
#AE9C36
Tritanopia (blue-blind)
#A1998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a32c;
/* rgb */ color: rgb(151, 163, 44);
/* oklch */ color: oklch(68.4% 0.139 115.2);
Tailwind
colors: {
  custom: {
    50: '#b9be6e',
    500: '#97a32c',
    950: '#000000',
  },
}
SCSS
$custom: #97a32c;
$custom-light: #b9be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a32c",
  "rgb": {
    "r": 151,
    "g": 163,
    "b": 44
  },
  "hsl": {
    "h": 66.05,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68405,
    "c": 0.1389,
    "h": 115.2
  },
  "luminance": 0.32956
}

Semantic roles & 50–950 ramp

primary
#97A32C
secondary
#736BC0
accent
#47E157
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A32C

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

Preview Lab → · Contrast checker → · Palette generator →

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