#97A01C#97A01C

#97A01C 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#97A01C
RGBrgb(151, 160, 28)
HSLhsl(64, 70%, 37%)
HSVhsv(64, 83%, 63%)
CMYKcmyk(5.6%, 0%, 82.5%, 37.3%)
CIE-LABlab(63.18, -18.64, 60.87)
CIE-LCHlch(63.18, 63.66, 107.02°)
OKLaboklab(67.62% -0.0581 0.1317)
OKLCHoklch(67.62% 0.144 113.8)
XYZxyz(25.5437, 31.8053, 5.8918)
Luminance0.3180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A01C #251CA0
analogous
#A0671C #97A01C #55A01C
triadic
#97A01C #1C97A0 #A01C97
tetradic
#97A01C #1CA067 #251CA0 #A01C55
square
#97A01C #1CA067 #251CA0 #A01C55
split-complementary
#97A01C #1C55A0 #671CA0
monochromatic
#35380A #666C13 #97A01C #C8D425 #D8E155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A01C#FFFFFF#000000##000000
##97A01C1.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)
#A29688
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a01c;
/* rgb */ color: rgb(151, 160, 28);
/* oklch */ color: oklch(67.6% 0.144 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bb66',
    500: '#97a01c',
    950: '#000000',
  },
}
SCSS
$custom: #97a01c;
$custom-light: #b9bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#97a01c",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 64.091,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67623,
    "c": 0.14396,
    "h": 113.8
  },
  "luminance": 0.31805
}

Semantic roles & 50–950 ramp

primary
#97A01C
secondary
#5B53C4
accent
#3BED47
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #97A01C

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

Preview Lab → · Contrast checker → · Palette generator →

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