#97A122#97A122

#97A122 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 67.9% C 0.142 H 114.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#97A122
RGBrgb(151, 161, 34)
HSLhsl(65, 65%, 38%)
HSVhsv(65, 79%, 63%)
CMYKcmyk(6.2%, 0%, 78.9%, 36.9%)
CIE-LABlab(63.50, -18.93, 59.43)
CIE-LCHlch(63.50, 62.38, 107.66°)
OKLaboklab(67.88% -0.0584 0.1297)
OKLCHoklch(67.88% 0.142 114.3)
XYZxyz(25.7969, 32.1851, 6.3665)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A122 #2C22A1
analogous
#A16B22 #97A122 #58A122
triadic
#97A122 #2297A1 #A12297
tetradic
#97A122 #22A16B #2C22A1 #A12258
square
#97A122 #22A16B #2C22A1 #A12258
split-complementary
#97A122 #2258A1 #6B22A1
monochromatic
#383C0D #686E17 #97A122 #C6D32D #D4DD60

Accessibility & contrast

On white

2.82
#97A122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#97A122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A122
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A122#FFFFFF#000000##000000
##97A1221.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#A1978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a122;
/* rgb */ color: rgb(151, 161, 34);
/* oklch */ color: oklch(67.9% 0.142 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bc69',
    500: '#97a122',
    950: '#000000',
  },
}
SCSS
$custom: #97a122;
$custom-light: #b9bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#97a122",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 64.724,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67883,
    "c": 0.14228,
    "h": 114.3
  },
  "luminance": 0.32185
}

Semantic roles & 50–950 ramp

primary
#97A122
secondary
#655DC2
accent
#40E84D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A122

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

Preview Lab → · Contrast checker → · Palette generator →

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