#97A254#97A254

#97A254 is a light, moderate yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.103 H 115.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#97A254
RGBrgb(151, 162, 84)
HSLhsl(68, 32%, 48%)
HSVhsv(68, 48%, 64%)
CMYKcmyk(6.8%, 0%, 48.1%, 36.5%)
CIE-LABlab(64.21, -15.90, 38.98)
CIE-LCHlch(64.21, 42.10, 112.19°)
OKLaboklab(68.59% -0.045 0.0931)
OKLCHoklch(68.59% 0.103 115.8)
XYZxyz(27.2834, 33.0604, 13.3298)
Luminance0.3306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A254 #5F54A2
analogous
#A28654 #97A254 #70A254
triadic
#97A254 #5497A2 #A25497
tetradic
#97A254 #54A286 #5F54A2 #A25470
square
#97A254 #54A286 #5F54A2 #A25470
split-complementary
#97A254 #5470A2 #8654A2
monochromatic
#4C512A #717A3F #97A254 #B1BA79 #C8CFA2

Accessibility & contrast

On white

2.76
#97A254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#97A254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A254
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A254#FFFFFF#000000##000000
##97A2541.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B4D
Deuteranopia (green-blind)
#AA9C58
Tritanopia (blue-blind)
#9F9A90
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a254;
/* rgb */ color: rgb(151, 162, 84);
/* oklch */ color: oklch(68.6% 0.103 115.8);
Tailwind
colors: {
  custom: {
    50: '#b7bd86',
    500: '#97a254',
    950: '#000000',
  },
}
SCSS
$custom: #97a254;
$custom-light: #b7bd86;
$custom-dark: #000000;
JSON
{
  "hex": "#97a254",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 84
  },
  "hsl": {
    "h": 68.462,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68592,
    "c": 0.10336,
    "h": 115.8
  },
  "luminance": 0.3306
}

Semantic roles & 50–950 ramp

primary
#97A254
secondary
#9B96BC
accent
#60C86F
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11120B
muted
#80817C

Preview Lab

Preview with #97A254

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

Preview Lab → · Contrast checker → · Palette generator →

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