#97A92F#97A92F

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

Color values

HEX#97A92F
RGBrgb(151, 169, 47)
HSLhsl(69, 56%, 42%)
HSVhsv(69, 72%, 66%)
CMYKcmyk(10.7%, 0%, 72.2%, 33.7%)
CIE-LABlab(65.87, -22.35, 57.29)
CIE-LCHlch(65.87, 61.50, 111.31°)
OKLaboklab(69.82% -0.0668 0.1275)
OKLCHoklch(69.82% 0.144 117.6)
XYZxyz(27.4642, 35.1608, 8.0287)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A92F #412FA9
analogous
#A97E2F #97A92F #5AA92F
triadic
#97A92F #2F97A9 #A92F97
tetradic
#97A92F #2FA97E #412FA9 #A92F5A
square
#97A92F #2FA97E #412FA9 #A92F5A
split-complementary
#97A92F #2F5AA9 #7E2FA9
monochromatic
#414914 #6C7922 #97A92F #B9CC49 #CBDA79

Accessibility & contrast

On white

2.61
#97A92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A92F#FFFFFF#000000##000000
##97A92F1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A019
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#A0A091
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #97a92f;
/* rgb */ color: rgb(151, 169, 47);
/* oklch */ color: oklch(69.8% 0.144 117.6);
Tailwind
colors: {
  custom: {
    50: '#b9c270',
    500: '#97a92f',
    950: '#000000',
  },
}
SCSS
$custom: #97a92f;
$custom-light: #b9c270;
$custom-dark: #000000;
JSON
{
  "hex": "#97a92f",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 68.852,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69815,
    "c": 0.14392,
    "h": 117.6
  },
  "luminance": 0.3516
}

Semantic roles & 50–950 ramp

primary
#97A92F
secondary
#7E72C2
accent
#48E05E
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A92F

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

Preview Lab → · Contrast checker → · Palette generator →

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