#97A235#97A235

#97A235 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.2% C 0.132 H 114.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#97A235
RGBrgb(151, 162, 53)
HSLhsl(66, 51%, 42%)
HSVhsv(66, 67%, 64%)
CMYKcmyk(6.8%, 0%, 67.3%, 36.5%)
CIE-LABlab(63.90, -18.47, 53.00)
CIE-LCHlch(63.90, 56.12, 109.21°)
OKLaboklab(68.24% -0.0554 0.1194)
OKLCHoklch(68.24% 0.132 114.9)
XYZxyz(26.3261, 32.6775, 8.2880)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A235 #4035A2
analogous
#A27735 #97A235 #61A235
triadic
#97A235 #3597A2 #A23597
tetradic
#97A235 #35A277 #4035A2 #A23561
square
#97A235 #35A277 #4035A2 #A23561
split-complementary
#97A235 #3561A2 #7735A2
monochromatic
#414617 #6C7426 #97A235 #B9C54F #CCD47D

Accessibility & contrast

On white

2.79
#97A235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#97A235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A235
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A235#FFFFFF#000000##000000
##97A2351.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A25
Deuteranopia (green-blind)
#AD9C3D
Tritanopia (blue-blind)
#A1998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a235;
/* rgb */ color: rgb(151, 162, 53);
/* oklch */ color: oklch(68.2% 0.132 114.9);
Tailwind
colors: {
  custom: {
    50: '#b8bd72',
    500: '#97a235',
    950: '#000000',
  },
}
SCSS
$custom: #97a235;
$custom-light: #b8bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#97a235",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 66.055,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68243,
    "c": 0.13165,
    "h": 114.9
  },
  "luminance": 0.32677
}

Semantic roles & 50–950 ramp

primary
#97A235
secondary
#7D75BD
accent
#4EDA5C
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A235

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

Preview Lab → · Contrast checker → · Palette generator →

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