#97A01D#97A01D

#97A01D is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.6% C 0.144 H 113.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#97A01D
RGBrgb(151, 160, 29)
HSLhsl(64, 69%, 37%)
HSVhsv(64, 82%, 63%)
CMYKcmyk(5.6%, 0%, 81.9%, 37.3%)
CIE-LABlab(63.19, -18.60, 60.61)
CIE-LCHlch(63.19, 63.40, 107.06°)
OKLaboklab(67.63% -0.0579 0.1313)
OKLCHoklch(67.63% 0.144 113.8)
XYZxyz(25.5559, 31.8102, 5.9559)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A01D #261DA0
analogous
#A0681D #97A01D #56A01D
triadic
#97A01D #1D97A0 #A01D97
tetradic
#97A01D #1DA068 #261DA0 #A01D56
square
#97A01D #1DA068 #261DA0 #A01D56
split-complementary
#97A01D #1D56A0 #681DA0
monochromatic
#35380A #666C14 #97A01D #C8D426 #D7E157

Accessibility & contrast

On white

2.85
#97A01D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#97A01D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A01D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A01D#FFFFFF#000000##000000
##97A01D1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AC9A2A
Tritanopia (blue-blind)
#A29689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a01d;
/* rgb */ color: rgb(151, 160, 29);
/* oklch */ color: oklch(67.6% 0.144 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bb67',
    500: '#97a01d',
    950: '#000000',
  },
}
SCSS
$custom: #97a01d;
$custom-light: #b9bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#97a01d",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 29
  },
  "hsl": {
    "h": 64.122,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67627,
    "c": 0.14353,
    "h": 113.8
  },
  "luminance": 0.3181
}

Semantic roles & 50–950 ramp

primary
#97A01D
secondary
#5C55C4
accent
#3CEC48
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #97A01D

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

Preview Lab → · Contrast checker → · Palette generator →

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