#97A126#97A126

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

Color values

HEX#97A126
RGBrgb(151, 161, 38)
HSLhsl(65, 62%, 39%)
HSVhsv(65, 76%, 63%)
CMYKcmyk(6.2%, 0%, 76.4%, 36.9%)
CIE-LABlab(63.52, -18.76, 58.18)
CIE-LCHlch(63.52, 61.13, 107.87°)
OKLaboklab(67.91% -0.0576 0.1278)
OKLCHoklch(67.91% 0.14 114.3)
XYZxyz(25.8580, 32.2095, 6.6882)
Luminance0.3221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A126 #3026A1
analogous
#A16E26 #97A126 #5AA126
triadic
#97A126 #2697A1 #A12697
tetradic
#97A126 #26A16E #3026A1 #A1265A
square
#97A126 #26A16E #3026A1 #A1265A
split-complementary
#97A126 #265AA1 #6E26A1
monochromatic
#3A3E0F #696F1A #97A126 #C3CF35 #D2DB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A126#FFFFFF#000000##000000
##97A1261.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)
#AD9907
Deuteranopia (green-blind)
#AD9B31
Tritanopia (blue-blind)
#A1978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a126;
/* rgb */ color: rgb(151, 161, 38);
/* oklch */ color: oklch(67.9% 0.140 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bc6b',
    500: '#97a126',
    950: '#000000',
  },
}
SCSS
$custom: #97a126;
$custom-light: #b9bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a126",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 64.878,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67905,
    "c": 0.14019,
    "h": 114.3
  },
  "luminance": 0.32209
}

Semantic roles & 50–950 ramp

primary
#97A126
secondary
#6A62C1
accent
#43E550
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A126

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

Preview Lab → · Contrast checker → · Palette generator →

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