#97A63F#97A63F

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

Color values

HEX#97A63F
RGBrgb(151, 166, 63)
HSLhsl(69, 45%, 45%)
HSVhsv(69, 62%, 65%)
CMYKcmyk(9%, 0%, 62%, 34.9%)
CIE-LABlab(65.13, -19.81, 50.04)
CIE-LCHlch(65.13, 53.82, 111.60°)
OKLaboklab(69.26% -0.0581 0.1147)
OKLCHoklch(69.26% 0.129 116.9)
XYZxyz(27.2964, 34.2109, 9.8671)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A63F #4E3FA6
analogous
#A6823F #97A63F #63A63F
triadic
#97A63F #3F97A6 #A63F97
tetradic
#97A63F #3FA682 #4E3FA6 #A63F63
square
#97A63F #3FA682 #4E3FA6 #A63F63
split-complementary
#97A63F #3F63A6 #823FA6
monochromatic
#464D1D #6F7A2E #97A63F #B4C360 #C9D38C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A63F#FFFFFF#000000##000000
##97A63F1.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)
#B19E33
Deuteranopia (green-blind)
#AF9F46
Tritanopia (blue-blind)
#A09D90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a63f;
/* rgb */ color: rgb(151, 166, 63);
/* oklch */ color: oklch(69.3% 0.129 116.9);
Tailwind
colors: {
  custom: {
    50: '#b8c079',
    500: '#97a63f',
    950: '#000000',
  },
}
SCSS
$custom: #97a63f;
$custom-light: #b8c079;
$custom-dark: #000000;
JSON
{
  "hex": "#97a63f",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 68.738,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69257,
    "c": 0.12858,
    "h": 116.9
  },
  "luminance": 0.34211
}

Semantic roles & 50–950 ramp

primary
#97A63F
secondary
#8B83BE
accent
#53D566
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #97A63F

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

Preview Lab → · Contrast checker → · Palette generator →

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