#97A52B#97A52B

#97A52B is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.142 H 116.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#97A52B
RGBrgb(151, 165, 43)
HSLhsl(67, 59%, 41%)
HSVhsv(67, 74%, 65%)
CMYKcmyk(8.5%, 0%, 73.9%, 35.3%)
CIE-LABlab(64.70, -20.55, 57.59)
CIE-LCHlch(64.70, 61.15, 109.64°)
OKLaboklab(68.86% -0.0622 0.1274)
OKLCHoklch(68.86% 0.142 116)
XYZxyz(26.6544, 33.6644, 7.3788)
Luminance0.3366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A52B #392BA5
analogous
#A5762B #97A52B #5AA52B
triadic
#97A52B #2B97A5 #A52B97
tetradic
#97A52B #2BA576 #392BA5 #A52B5A
square
#97A52B #2BA576 #392BA5 #A52B5A
split-complementary
#97A52B #2B5AA5 #762BA5
monochromatic
#3E4412 #6B741E #97A52B #BDCD40 #CEDA71

Accessibility & contrast

On white

2.72
#97A52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#97A52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A52B
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A52B#FFFFFF#000000##000000
##97A52B1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C12
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#A19B8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a52b;
/* rgb */ color: rgb(151, 165, 43);
/* oklch */ color: oklch(68.9% 0.142 116.0);
Tailwind
colors: {
  custom: {
    50: '#b9bf6e',
    500: '#97a52b',
    950: '#000000',
  },
}
SCSS
$custom: #97a52b;
$custom-light: #b9bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a52b",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 66.885,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68861,
    "c": 0.14177,
    "h": 116
  },
  "luminance": 0.33664
}

Semantic roles & 50–950 ramp

primary
#97A52B
secondary
#756BC1
accent
#46E258
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A52B

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

Preview Lab → · Contrast checker → · Palette generator →

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