#97A937#97A937

#97A937 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.9% C 0.138 H 117.9°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#97A937
RGBrgb(151, 169, 55)
HSLhsl(69, 51%, 44%)
HSVhsv(69, 67%, 66%)
CMYKcmyk(10.7%, 0%, 67.5%, 33.7%)
CIE-LABlab(65.93, -21.88, 54.27)
CIE-LCHlch(65.93, 58.51, 111.95°)
OKLaboklab(69.88% -0.0647 0.1224)
OKLCHoklch(69.88% 0.138 117.9)
XYZxyz(27.6406, 35.2313, 8.9579)
Luminance0.3523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A937 #4937A9
analogous
#A98237 #97A937 #5EA937
triadic
#97A937 #3797A9 #A93797
tetradic
#97A937 #37A982 #4937A9 #A9375E
square
#97A937 #37A982 #4937A9 #A9375E
split-complementary
#97A937 #375EA9 #8237A9
monochromatic
#444D19 #6E7B28 #97A937 #B6C855 #CAD784

Accessibility & contrast

On white

2.61
#97A937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#97A937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A937
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A937#FFFFFF#000000##000000
##97A9371.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A027
Deuteranopia (green-blind)
#B2A13F
Tritanopia (blue-blind)
#A0A092
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #97a937;
/* rgb */ color: rgb(151, 169, 55);
/* oklch */ color: oklch(69.9% 0.138 117.9);
Tailwind
colors: {
  custom: {
    50: '#b8c274',
    500: '#97a937',
    950: '#000000',
  },
}
SCSS
$custom: #97a937;
$custom-light: #b8c274;
$custom-dark: #000000;
JSON
{
  "hex": "#97a937",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 55
  },
  "hsl": {
    "h": 69.474,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69877,
    "c": 0.13848,
    "h": 117.9
  },
  "luminance": 0.35231
}

Semantic roles & 50–950 ramp

primary
#97A937
secondary
#867BC0
accent
#4DDA64
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A937

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

Preview Lab → · Contrast checker → · Palette generator →

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