#97A11A#97A11A

#97A11A is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.8% C 0.146 H 114.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#97A11A
RGBrgb(151, 161, 26)
HSLhsl(64, 72%, 37%)
HSVhsv(64, 84%, 63%)
CMYKcmyk(6.2%, 0%, 83.9%, 36.9%)
CIE-LABlab(63.46, -19.21, 61.63)
CIE-LCHlch(63.46, 64.55, 107.31°)
OKLaboklab(67.85% -0.0598 0.133)
OKLCHoklch(67.85% 0.146 114.2)
XYZxyz(25.6946, 32.1442, 5.8280)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A11A #241AA1
analogous
#A1681A #97A11A #54A11A
triadic
#97A11A #1A97A1 #A11A97
tetradic
#97A11A #1AA168 #241AA1 #A11A54
square
#97A11A #1AA168 #241AA1 #A11A54
split-complementary
#97A11A #1A54A1 #681AA1
monochromatic
#343809 #666C11 #97A11A #C8D623 #D8E352

Accessibility & contrast

On white

2.83
#97A11A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#97A11A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A11A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A11A#FFFFFF#000000##000000
##97A11A1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AD9B28
Tritanopia (blue-blind)
#A29789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a11a;
/* rgb */ color: rgb(151, 161, 26);
/* oklch */ color: oklch(67.8% 0.146 114.2);
Tailwind
colors: {
  custom: {
    50: '#b9bc66',
    500: '#97a11a',
    950: '#000000',
  },
}
SCSS
$custom: #97a11a;
$custom-light: #b9bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#97a11a",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 26
  },
  "hsl": {
    "h": 64.444,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67845,
    "c": 0.14583,
    "h": 114.2
  },
  "luminance": 0.32144
}

Semantic roles & 50–950 ramp

primary
#97A11A
secondary
#5A51C6
accent
#39EF46
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #97A11A

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

Preview Lab → · Contrast checker → · Palette generator →

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