#97A627#97A627

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

Color values

HEX#97A627
RGBrgb(151, 166, 39)
HSLhsl(67, 62%, 40%)
HSVhsv(67, 77%, 65%)
CMYKcmyk(9%, 0%, 76.5%, 34.9%)
CIE-LABlab(64.96, -21.24, 59.20)
CIE-LCHlch(64.96, 62.89, 109.74°)
OKLaboklab(69.07% -0.0644 0.1301)
OKLCHoklch(69.07% 0.145 116.3)
XYZxyz(26.7656, 33.9986, 7.0715)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A627 #3627A6
analogous
#A67627 #97A627 #57A627
triadic
#97A627 #2797A6 #A62797
tetradic
#97A627 #27A676 #3627A6 #A62757
square
#97A627 #27A676 #3627A6 #A62757
split-complementary
#97A627 #2757A6 #7627A6
monochromatic
#3D4310 #6A741B #97A627 #BFD13A #CFDC6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A627#FFFFFF#000000##000000
##97A6271.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)
#B29D06
Deuteranopia (green-blind)
#B19E32
Tritanopia (blue-blind)
#A19C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a627;
/* rgb */ color: rgb(151, 166, 39);
/* oklch */ color: oklch(69.1% 0.145 116.3);
Tailwind
colors: {
  custom: {
    50: '#b9c06c',
    500: '#97a627',
    950: '#000000',
  },
}
SCSS
$custom: #97a627;
$custom-light: #b9c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a627",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 67.087,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69068,
    "c": 0.14519,
    "h": 116.3
  },
  "luminance": 0.33998
}

Semantic roles & 50–950 ramp

primary
#97A627
secondary
#7166C3
accent
#43E556
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A627

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

Preview Lab → · Contrast checker → · Palette generator →

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