#97A727#97A727

#97A727 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.3% C 0.146 H 116.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#97A727
RGBrgb(151, 167, 39)
HSLhsl(68, 62%, 40%)
HSVhsv(68, 77%, 65%)
CMYKcmyk(9.6%, 0%, 76.6%, 34.5%)
CIE-LABlab(65.25, -21.74, 59.46)
CIE-LCHlch(65.25, 63.32, 110.08°)
OKLaboklab(69.3% -0.0658 0.1307)
OKLCHoklch(69.3% 0.146 116.7)
XYZxyz(26.9481, 34.3636, 7.1323)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A727 #3727A7
analogous
#A77727 #97A727 #57A727
triadic
#97A727 #2797A7 #A72797
tetradic
#97A727 #27A777 #3727A7 #A72757
square
#97A727 #27A777 #3727A7 #A72757
split-complementary
#97A727 #2757A7 #7727A7
monochromatic
#3D4410 #6A751B #97A727 #BED13A #CFDD6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A727#FFFFFF#000000##000000
##97A7271.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)
#B39E05
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#A19D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a727;
/* rgb */ color: rgb(151, 167, 39);
/* oklch */ color: oklch(69.3% 0.146 116.7);
Tailwind
colors: {
  custom: {
    50: '#b9c16c',
    500: '#97a727',
    950: '#000000',
  },
}
SCSS
$custom: #97a727;
$custom-light: #b9c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a727",
  "rgb": {
    "r": 151,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 67.5,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.693,
    "c": 0.14632,
    "h": 116.7
  },
  "luminance": 0.34363
}

Semantic roles & 50–950 ramp

primary
#97A727
secondary
#7267C3
accent
#43E557
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A727

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

Preview Lab → · Contrast checker → · Palette generator →

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