#97A01B#97A01B

#97A01B 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#97A01B
RGBrgb(151, 160, 27)
HSLhsl(64, 71%, 37%)
HSVhsv(64, 83%, 63%)
CMYKcmyk(5.6%, 0%, 83.1%, 37.3%)
CIE-LABlab(63.18, -18.67, 61.13)
CIE-LCHlch(63.18, 63.92, 106.98°)
OKLaboklab(67.62% -0.0582 0.1321)
OKLCHoklch(67.62% 0.144 113.8)
XYZxyz(25.5320, 31.8006, 5.8299)
Luminance0.3180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A01B #241BA0
analogous
#A0671B #97A01B #55A01B
triadic
#97A01B #1B97A0 #A01B97
tetradic
#97A01B #1BA067 #241BA0 #A01B55
square
#97A01B #1BA067 #241BA0 #A01B55
split-complementary
#97A01B #1B55A0 #671BA0
monochromatic
#343709 #666C12 #97A01B #C8D424 #D8E253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A01B#FFFFFF#000000##000000
##97A01B1.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)
#AC9A29
Tritanopia (blue-blind)
#A29688
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a01b;
/* rgb */ color: rgb(151, 160, 27);
/* oklch */ color: oklch(67.6% 0.144 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bb66',
    500: '#97a01b',
    950: '#000000',
  },
}
SCSS
$custom: #97a01b;
$custom-light: #b9bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#97a01b",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 64.06,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67619,
    "c": 0.14437,
    "h": 113.8
  },
  "luminance": 0.318
}

Semantic roles & 50–950 ramp

primary
#97A01B
secondary
#5A52C5
accent
#3AEE46
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #97A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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