#97A135#97A135

#97A135 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.130 H 114.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#97A135
RGBrgb(151, 161, 53)
HSLhsl(66, 50%, 42%)
HSVhsv(66, 67%, 63%)
CMYKcmyk(6.2%, 0%, 67.1%, 36.9%)
CIE-LABlab(63.61, -17.95, 52.70)
CIE-LCHlch(63.61, 55.68, 108.81°)
OKLaboklab(68.01% -0.054 0.1188)
OKLCHoklch(68.01% 0.13 114.4)
XYZxyz(26.1506, 32.3266, 8.2295)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A135 #3F35A1
analogous
#A17535 #97A135 #61A135
triadic
#97A135 #3597A1 #A13597
tetradic
#97A135 #35A175 #3F35A1 #A13561
square
#97A135 #35A175 #3F35A1 #A13561
split-complementary
#97A135 #3561A1 #7535A1
monochromatic
#414517 #6C7326 #97A135 #BAC54E #CCD47C

Accessibility & contrast

On white

2.81
#97A135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#97A135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A135
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A135#FFFFFF#000000##000000
##97A1351.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9926
Deuteranopia (green-blind)
#AC9B3D
Tritanopia (blue-blind)
#A1988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a135;
/* rgb */ color: rgb(151, 161, 53);
/* oklch */ color: oklch(68.0% 0.130 114.4);
Tailwind
colors: {
  custom: {
    50: '#b8bc72',
    500: '#97a135',
    950: '#000000',
  },
}
SCSS
$custom: #97a135;
$custom-light: #b8bc72;
$custom-dark: #000000;
JSON
{
  "hex": "#97a135",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 65.556,
    "s": 50.467,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68013,
    "c": 0.13049,
    "h": 114.4
  },
  "luminance": 0.32326
}

Semantic roles & 50–950 ramp

primary
#97A135
secondary
#7C75BD
accent
#4EDA5B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A135

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

Preview Lab → · Contrast checker → · Palette generator →

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