#97A64B#97A64B

#97A64B is a light, moderate yellow. Relative luminance 0.344; OKLCH L 69.4% C 0.118 H 117.4°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#97A64B
RGBrgb(151, 166, 75)
HSLhsl(70, 38%, 47%)
HSVhsv(70, 55%, 65%)
CMYKcmyk(9%, 0%, 54.8%, 34.9%)
CIE-LABlab(65.25, -18.83, 44.65)
CIE-LCHlch(65.25, 48.45, 112.86°)
OKLaboklab(69.39% -0.0541 0.1046)
OKLCHoklch(69.39% 0.118 117.4)
XYZxyz(27.6691, 34.3600, 11.8298)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A64B #5A4BA6
analogous
#A6874B #97A64B #6AA64B
triadic
#97A64B #4B97A6 #A64B97
tetradic
#97A64B #4BA687 #5A4BA6 #A64B6A
square
#97A64B #4BA687 #5A4BA6 #A64B6A
split-complementary
#97A64B #4B6AA6 #874BA6
monochromatic
#4A5225 #717C38 #97A64B #B1BE70 #C8D19A

Accessibility & contrast

On white

2.67
#97A64B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#97A64B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A64B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A64B#FFFFFF#000000##000000
##97A64B1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E42
Deuteranopia (green-blind)
#AE9F50
Tritanopia (blue-blind)
#9F9E92
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a64b;
/* rgb */ color: rgb(151, 166, 75);
/* oklch */ color: oklch(69.4% 0.118 117.4);
Tailwind
colors: {
  custom: {
    50: '#b7c080',
    500: '#97a64b',
    950: '#000000',
  },
}
SCSS
$custom: #97a64b;
$custom-light: #b7c080;
$custom-dark: #000000;
JSON
{
  "hex": "#97a64b",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 75
  },
  "hsl": {
    "h": 69.89,
    "s": 37.759,
    "l": 47.255
  },
  "oklch": {
    "l": 0.69389,
    "c": 0.11777,
    "h": 117.4
  },
  "luminance": 0.3436
}

Semantic roles & 50–950 ramp

primary
#97A64B
secondary
#978FBE
accent
#5ACE6D
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #97A64B

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

Preview Lab → · Contrast checker → · Palette generator →

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