#97A726#97A726

#97A726 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.3% C 0.147 H 116.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#97A726
RGBrgb(151, 167, 38)
HSLhsl(67, 63%, 40%)
HSVhsv(67, 77%, 65%)
CMYKcmyk(9.6%, 0%, 77.2%, 34.5%)
CIE-LABlab(65.25, -21.79, 59.78)
CIE-LCHlch(65.25, 63.63, 110.02°)
OKLaboklab(69.29% -0.066 0.1312)
OKLCHoklch(69.29% 0.147 116.7)
XYZxyz(26.9318, 34.3570, 7.0462)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A726 #3626A7
analogous
#A77726 #97A726 #56A726
triadic
#97A726 #2697A7 #A72697
tetradic
#97A726 #26A777 #3626A7 #A72656
square
#97A726 #26A777 #3626A7 #A72656
split-complementary
#97A726 #2656A7 #7726A7
monochromatic
#3D430F #6A751B #97A726 #BFD238 #CFDD6A

Accessibility & contrast

On white

2.67
#97A726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#97A726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A726
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A726#FFFFFF#000000##000000
##97A7261.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E02
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#A19D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a726;
/* rgb */ color: rgb(151, 167, 38);
/* oklch */ color: oklch(69.3% 0.147 116.7);
Tailwind
colors: {
  custom: {
    50: '#b9c16b',
    500: '#97a726',
    950: '#000000',
  },
}
SCSS
$custom: #97a726;
$custom-light: #b9c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a726",
  "rgb": {
    "r": 151,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 67.442,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69294,
    "c": 0.14686,
    "h": 116.7
  },
  "luminance": 0.34357
}

Semantic roles & 50–950 ramp

primary
#97A726
secondary
#7165C3
accent
#42E656
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A726

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

Preview Lab → · Contrast checker → · Palette generator →

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