#97A02C#97A02C

#97A02C is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.136 H 113.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#97A02C
RGBrgb(151, 160, 44)
HSLhsl(65, 57%, 40%)
HSVhsv(65, 73%, 63%)
CMYKcmyk(5.6%, 0%, 72.5%, 37.3%)
CIE-LABlab(63.26, -17.96, 55.85)
CIE-LCHlch(63.26, 58.67, 107.82°)
OKLaboklab(67.71% -0.0549 0.1239)
OKLCHoklch(67.71% 0.136 113.9)
XYZxyz(25.7887, 31.9033, 7.1818)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A02C #352CA0
analogous
#A06F2C #97A02C #5DA02C
triadic
#97A02C #2C97A0 #A02C97
tetradic
#97A02C #2CA06F #352CA0 #A02C5D
square
#97A02C #2CA06F #352CA0 #A02C5D
split-complementary
#97A02C #2C5DA0 #6F2CA0
monochromatic
#3C4012 #6A701F #97A02C #BFCA3F #CFD76F

Accessibility & contrast

On white

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

On black

7.38
#97A02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A02C
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A02C#FFFFFF#000000##000000
##97A02C1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9817
Deuteranopia (green-blind)
#AC9A35
Tritanopia (blue-blind)
#A1968A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a02c;
/* rgb */ color: rgb(151, 160, 44);
/* oklch */ color: oklch(67.7% 0.136 113.9);
Tailwind
colors: {
  custom: {
    50: '#b9bb6d',
    500: '#97a02c',
    950: '#000000',
  },
}
SCSS
$custom: #97a02c;
$custom-light: #b9bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a02c",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 64.655,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.67714,
    "c": 0.13553,
    "h": 113.9
  },
  "luminance": 0.31903
}

Semantic roles & 50–950 ramp

primary
#97A02C
secondary
#7069BF
accent
#48E053
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #97A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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