#97A92A#97A92A

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

Color values

HEX#97A92A
RGBrgb(151, 169, 42)
HSLhsl(69, 60%, 41%)
HSVhsv(69, 75%, 66%)
CMYKcmyk(10.7%, 0%, 75.1%, 33.7%)
CIE-LABlab(65.84, -22.60, 59.03)
CIE-LCHlch(65.84, 63.21, 110.95°)
OKLaboklab(69.78% -0.0679 0.1303)
OKLCHoklch(69.78% 0.147 117.5)
XYZxyz(27.3690, 35.1227, 7.5276)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A92A #3C2AA9
analogous
#A97C2A #97A92A #58A92A
triadic
#97A92A #2A97A9 #A92A97
tetradic
#97A92A #2AA97C #3C2AA9 #A92A58
square
#97A92A #2AA97C #3C2AA9 #A92A58
split-complementary
#97A92A #2A58A9 #7C2AA9
monochromatic
#3F4712 #6B781E #97A92A #BBD041 #CDDC72

Accessibility & contrast

On white

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

On black

8.02
#97A92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A92A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A92A#FFFFFF#000000##000000
##97A92A1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a92a;
/* rgb */ color: rgb(151, 169, 42);
/* oklch */ color: oklch(69.8% 0.147 117.5);
Tailwind
colors: {
  custom: {
    50: '#b9c26e',
    500: '#97a92a',
    950: '#000000',
  },
}
SCSS
$custom: #97a92a;
$custom-light: #b9c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a92a",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 42
  },
  "hsl": {
    "h": 68.504,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69782,
    "c": 0.14693,
    "h": 117.5
  },
  "luminance": 0.35122
}

Semantic roles & 50–950 ramp

primary
#97A92A
secondary
#786CC3
accent
#44E35B
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A92A

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

Preview Lab → · Contrast checker → · Palette generator →

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