#97A63C#97A63C

#97A63C is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.2% C 0.131 H 116.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#97A63C
RGBrgb(151, 166, 60)
HSLhsl(68, 47%, 44%)
HSVhsv(68, 64%, 65%)
CMYKcmyk(9%, 0%, 63.9%, 34.9%)
CIE-LABlab(65.10, -20.03, 51.32)
CIE-LCHlch(65.10, 55.09, 111.32°)
OKLaboklab(69.23% -0.0591 0.117)
OKLCHoklch(69.23% 0.131 116.8)
XYZxyz(27.2149, 34.1783, 9.4375)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A63C #4B3CA6
analogous
#A6803C #97A63C #62A63C
triadic
#97A63C #3C97A6 #A63C97
tetradic
#97A63C #3CA680 #4B3CA6 #A63C62
square
#97A63C #3CA680 #4B3CA6 #A63C62
split-complementary
#97A63C #3C62A6 #803CA6
monochromatic
#454C1C #6E792C #97A63C #B5C45B #C9D488

Accessibility & contrast

On white

2.68
#97A63C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#97A63C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A63C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A63C#FFFFFF#000000##000000
##97A63C1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E2F
Deuteranopia (green-blind)
#B09F43
Tritanopia (blue-blind)
#A09D90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a63c;
/* rgb */ color: rgb(151, 166, 60);
/* oklch */ color: oklch(69.2% 0.131 116.8);
Tailwind
colors: {
  custom: {
    50: '#b8c077',
    500: '#97a63c',
    950: '#000000',
  },
}
SCSS
$custom: #97a63c;
$custom-light: #b8c077;
$custom-dark: #000000;
JSON
{
  "hex": "#97a63c",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 60
  },
  "hsl": {
    "h": 68.491,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69228,
    "c": 0.13103,
    "h": 116.8
  },
  "luminance": 0.34178
}

Semantic roles & 50–950 ramp

primary
#97A63C
secondary
#887FBE
accent
#51D764
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A63C

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

Preview Lab → · Contrast checker → · Palette generator →

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