#97A01E#97A01E

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

Color values

HEX#97A01E
RGBrgb(151, 160, 30)
HSLhsl(64, 68%, 37%)
HSVhsv(64, 81%, 63%)
CMYKcmyk(5.6%, 0%, 81.3%, 37.3%)
CIE-LABlab(63.19, -18.57, 60.33)
CIE-LCHlch(63.19, 63.13, 107.10°)
OKLaboklab(67.63% -0.0577 0.1309)
OKLCHoklch(67.63% 0.143 113.8)
XYZxyz(25.5685, 31.8152, 6.0221)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A01E #271EA0
analogous
#A0681E #97A01E #56A01E
triadic
#97A01E #1E97A0 #A01E97
tetradic
#97A01E #1EA068 #271EA0 #A01E56
square
#97A01E #1EA068 #271EA0 #A01E56
split-complementary
#97A01E #1E56A0 #681EA0
monochromatic
#36390B #666C14 #97A01E #C8D428 #D6E059

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A01E#FFFFFF#000000##000000
##97A01E1.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)
#AC9A2B
Tritanopia (blue-blind)
#A29689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a01e;
/* rgb */ color: rgb(151, 160, 30);
/* oklch */ color: oklch(67.6% 0.143 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bb67',
    500: '#97a01e',
    950: '#000000',
  },
}
SCSS
$custom: #97a01e;
$custom-light: #b9bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#97a01e",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 30
  },
  "hsl": {
    "h": 64.154,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67632,
    "c": 0.14309,
    "h": 113.8
  },
  "luminance": 0.31815
}

Semantic roles & 50–950 ramp

primary
#97A01E
secondary
#5E56C4
accent
#3DEB49
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #97A01E

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

Preview Lab → · Contrast checker → · Palette generator →

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