#97A92C#97A92C

#97A92C is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.8% C 0.146 H 117.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#97A92C
RGBrgb(151, 169, 44)
HSLhsl(69, 59%, 42%)
HSVhsv(69, 74%, 66%)
CMYKcmyk(10.7%, 0%, 74%, 33.7%)
CIE-LABlab(65.86, -22.50, 58.35)
CIE-LCHlch(65.86, 62.54, 111.09°)
OKLaboklab(69.8% -0.0675 0.1292)
OKLCHoklch(69.8% 0.146 117.6)
XYZxyz(27.4057, 35.1374, 7.7208)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A92C #3E2CA9
analogous
#A97D2C #97A92C #59A92C
triadic
#97A92C #2C97A9 #A92C97
tetradic
#97A92C #2CA97D #3E2CA9 #A92C59
square
#97A92C #2CA97D #3E2CA9 #A92C59
split-complementary
#97A92C #2C59A9 #7D2CA9
monochromatic
#404813 #6C781F #97A92C #BACE44 #CCDB74

Accessibility & contrast

On white

2.62
#97A92C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#97A92C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A92C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A92C#FFFFFF#000000##000000
##97A92C1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A012
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#A09F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #97a92c;
/* rgb */ color: rgb(151, 169, 44);
/* oklch */ color: oklch(69.8% 0.146 117.6);
Tailwind
colors: {
  custom: {
    50: '#b9c26e',
    500: '#97a92c',
    950: '#000000',
  },
}
SCSS
$custom: #97a92c;
$custom-light: #b9c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a92c",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 44
  },
  "hsl": {
    "h": 68.64,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69795,
    "c": 0.14576,
    "h": 117.6
  },
  "luminance": 0.35137
}

Semantic roles & 50–950 ramp

primary
#97A92C
secondary
#7A6EC3
accent
#46E25C
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A92C

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

Preview Lab → · Contrast checker → · Palette generator →

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