#97A837#97A837

#97A837 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.6% C 0.137 H 117.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#97A837
RGBrgb(151, 168, 55)
HSLhsl(69, 51%, 44%)
HSVhsv(69, 67%, 66%)
CMYKcmyk(10.1%, 0%, 67.3%, 34.1%)
CIE-LABlab(65.64, -21.38, 53.97)
CIE-LCHlch(65.64, 58.05, 111.61°)
OKLaboklab(69.65% -0.0633 0.1218)
OKLCHoklch(69.65% 0.137 117.5)
XYZxyz(27.4553, 34.8607, 8.8961)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A837 #4837A8
analogous
#A88037 #97A837 #5EA837
triadic
#97A837 #3797A8 #A83797
tetradic
#97A837 #37A880 #4837A8 #A8375E
square
#97A837 #37A880 #4837A8 #A8375E
split-complementary
#97A837 #375EA8 #8037A8
monochromatic
#444C19 #6E7A28 #97A837 #B6C755 #CAD683

Accessibility & contrast

On white

2.63
#97A837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#97A837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A837
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A837#FFFFFF#000000##000000
##97A8371.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F27
Deuteranopia (green-blind)
#B1A03F
Tritanopia (blue-blind)
#A09F91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a837;
/* rgb */ color: rgb(151, 168, 55);
/* oklch */ color: oklch(69.6% 0.137 117.5);
Tailwind
colors: {
  custom: {
    50: '#b8c174',
    500: '#97a837',
    950: '#000000',
  },
}
SCSS
$custom: #97a837;
$custom-light: #b8c174;
$custom-dark: #000000;
JSON
{
  "hex": "#97a837",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 69.027,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69645,
    "c": 0.13728,
    "h": 117.5
  },
  "luminance": 0.3486
}

Semantic roles & 50–950 ramp

primary
#97A837
secondary
#857BC0
accent
#4EDA63
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A837

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

Preview Lab → · Contrast checker → · Palette generator →

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