#97A256#97A256

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

Color values

HEX#97A256
RGBrgb(151, 162, 86)
HSLhsl(69, 31%, 49%)
HSVhsv(69, 47%, 64%)
CMYKcmyk(6.8%, 0%, 46.9%, 36.5%)
CIE-LABlab(64.24, -15.69, 38.00)
CIE-LCHlch(64.24, 41.11, 112.44°)
OKLaboklab(68.62% -0.0442 0.091)
OKLCHoklch(68.62% 0.101 115.9)
XYZxyz(27.3628, 33.0922, 13.7482)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A256 #6156A2
analogous
#A28756 #97A256 #71A256
triadic
#97A256 #5697A2 #A25697
tetradic
#97A256 #56A287 #6156A2 #A25671
square
#97A256 #56A287 #6156A2 #A25671
split-complementary
#97A256 #5671A2 #8756A2
monochromatic
#4C522C #727A41 #97A256 #B0B97C #C8CFA4

Accessibility & contrast

On white

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

On black

7.62
#97A256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A256
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A256#FFFFFF#000000##000000
##97A2561.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B50
Deuteranopia (green-blind)
#AA9C5A
Tritanopia (blue-blind)
#9E9B90
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a256;
/* rgb */ color: rgb(151, 162, 86);
/* oklch */ color: oklch(68.6% 0.101 115.9);
Tailwind
colors: {
  custom: {
    50: '#b7bd87',
    500: '#97a256',
    950: '#000000',
  },
}
SCSS
$custom: #97a256;
$custom-light: #b7bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#97a256",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 68.684,
    "s": 30.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.68621,
    "c": 0.1012,
    "h": 115.9
  },
  "luminance": 0.33092
}

Semantic roles & 50–950 ramp

primary
#97A256
secondary
#9D98BC
accent
#61C770
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120B
muted
#80817C

Preview Lab

Preview with #97A256

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

Preview Lab → · Contrast checker → · Palette generator →

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