#97A628#97A628

#97A628 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.1% C 0.145 H 116.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#97A628
RGBrgb(151, 166, 40)
HSLhsl(67, 61%, 40%)
HSVhsv(67, 76%, 65%)
CMYKcmyk(9%, 0%, 75.9%, 34.9%)
CIE-LABlab(64.97, -21.20, 58.87)
CIE-LCHlch(64.97, 62.57, 109.80°)
OKLaboklab(69.07% -0.0642 0.1296)
OKLCHoklch(69.07% 0.145 116.4)
XYZxyz(26.7824, 34.0053, 7.1599)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A628 #3728A6
analogous
#A67628 #97A628 #58A628
triadic
#97A628 #2897A6 #A62897
tetradic
#97A628 #28A676 #3728A6 #A62858
square
#97A628 #28A676 #3728A6 #A62858
split-complementary
#97A628 #2858A6 #7628A6
monochromatic
#3D4310 #6A751C #97A628 #BED03B #CFDC6D

Accessibility & contrast

On white

2.69
#97A628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#97A628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A628
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A628#FFFFFF#000000##000000
##97A6281.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D09
Deuteranopia (green-blind)
#B19E33
Tritanopia (blue-blind)
#A19C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a628;
/* rgb */ color: rgb(151, 166, 40);
/* oklch */ color: oklch(69.1% 0.145 116.4);
Tailwind
colors: {
  custom: {
    50: '#b9c06c',
    500: '#97a628',
    950: '#000000',
  },
}
SCSS
$custom: #97a628;
$custom-light: #b9c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a628",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 67.143,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69074,
    "c": 0.14464,
    "h": 116.4
  },
  "luminance": 0.34005
}

Semantic roles & 50–950 ramp

primary
#97A628
secondary
#7267C2
accent
#44E457
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A628

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

Preview Lab → · Contrast checker → · Palette generator →

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