#97A51E#97A51E

#97A51E is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.8% C 0.148 H 115.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#97A51E
RGBrgb(151, 165, 30)
HSLhsl(66, 69%, 38%)
HSVhsv(66, 82%, 65%)
CMYKcmyk(8.5%, 0%, 81.8%, 35.3%)
CIE-LABlab(64.63, -21.10, 61.59)
CIE-LCHlch(64.63, 65.11, 108.91°)
OKLaboklab(68.79% -0.0647 0.1336)
OKLCHoklch(68.79% 0.148 115.8)
XYZxyz(26.4527, 33.5837, 6.3169)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A51E #2C1EA5
analogous
#A56F1E #97A51E #53A51E
triadic
#97A51E #1E97A5 #A51E97
tetradic
#97A51E #1EA56F #2C1EA5 #A51E53
square
#97A51E #1EA56F #2C1EA5 #A51E53
split-complementary
#97A51E #1E53A5 #6F1EA5
monochromatic
#383D0B #687115 #97A51E #C6D828 #D4E15C

Accessibility & contrast

On white

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

On black

7.72
#97A51E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A51E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A51E#FFFFFF#000000##000000
##97A51E1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09E2C
Tritanopia (blue-blind)
#A19B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a51e;
/* rgb */ color: rgb(151, 165, 30);
/* oklch */ color: oklch(68.8% 0.148 115.8);
Tailwind
colors: {
  custom: {
    50: '#b9bf68',
    500: '#97a51e',
    950: '#000000',
  },
}
SCSS
$custom: #97a51e;
$custom-light: #b9bf68;
$custom-dark: #000000;
JSON
{
  "hex": "#97a51e",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 30
  },
  "hsl": {
    "h": 66.222,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68789,
    "c": 0.14847,
    "h": 115.8
  },
  "luminance": 0.33583
}

Semantic roles & 50–950 ramp

primary
#97A51E
secondary
#6559C5
accent
#3CEC4E
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A51E

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

Preview Lab → · Contrast checker → · Palette generator →

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