#97A63B#97A63B

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

Color values

HEX#97A63B
RGBrgb(151, 166, 59)
HSLhsl(68, 48%, 44%)
HSVhsv(68, 64%, 65%)
CMYKcmyk(9%, 0%, 64.5%, 34.9%)
CIE-LABlab(65.10, -20.10, 51.74)
CIE-LCHlch(65.10, 55.51, 111.23°)
OKLaboklab(69.22% -0.0594 0.1177)
OKLCHoklch(69.22% 0.132 116.8)
XYZxyz(27.1887, 34.1678, 9.2996)
Luminance0.3417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A63B #4A3BA6
analogous
#A6803B #97A63B #62A63B
triadic
#97A63B #3B97A6 #A63B97
tetradic
#97A63B #3BA680 #4A3BA6 #A63B62
square
#97A63B #3BA680 #4A3BA6 #A63B62
split-complementary
#97A63B #3B62A6 #803BA6
monochromatic
#454C1B #6E792B #97A63B #B5C45A #CAD487

Accessibility & contrast

On white

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

On black

7.83
#97A63B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A63B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A63B#FFFFFF#000000##000000
##97A63B1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a63b;
/* rgb */ color: rgb(151, 166, 59);
/* oklch */ color: oklch(69.2% 0.132 116.8);
Tailwind
colors: {
  custom: {
    50: '#b8c076',
    500: '#97a63b',
    950: '#000000',
  },
}
SCSS
$custom: #97a63b;
$custom-light: #b8c076;
$custom-dark: #000000;
JSON
{
  "hex": "#97a63b",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 59
  },
  "hsl": {
    "h": 68.411,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69218,
    "c": 0.13183,
    "h": 116.8
  },
  "luminance": 0.34168
}

Semantic roles & 50–950 ramp

primary
#97A63B
secondary
#877EBF
accent
#51D763
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A63B

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

Preview Lab → · Contrast checker → · Palette generator →

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