#97A826#97A826

#97A826 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.5% C 0.148 H 117.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#97A826
RGBrgb(151, 168, 38)
HSLhsl(68, 63%, 40%)
HSVhsv(68, 77%, 66%)
CMYKcmyk(10.1%, 0%, 77.4%, 34.1%)
CIE-LABlab(65.53, -22.29, 60.05)
CIE-LCHlch(65.53, 64.05, 110.36°)
OKLaboklab(69.53% -0.0674 0.1317)
OKLCHoklch(69.53% 0.148 117.1)
XYZxyz(27.1157, 34.7248, 7.1075)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A826 #3726A8
analogous
#A87826 #97A826 #56A826
triadic
#97A826 #2697A8 #A82697
tetradic
#97A826 #26A878 #3726A8 #A82656
square
#97A826 #26A878 #3726A8 #A82656
split-complementary
#97A826 #2656A8 #7826A8
monochromatic
#3D440F #6A761B #97A826 #BED239 #CFDE6B

Accessibility & contrast

On white

2.64
#97A826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#97A826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A826
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A826#FFFFFF#000000##000000
##97A8261.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F01
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#A19E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a826;
/* rgb */ color: rgb(151, 168, 38);
/* oklch */ color: oklch(69.5% 0.148 117.1);
Tailwind
colors: {
  custom: {
    50: '#b9c16c',
    500: '#97a826',
    950: '#000000',
  },
}
SCSS
$custom: #97a826;
$custom-light: #b9c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a826",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 67.846,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69526,
    "c": 0.14798,
    "h": 117.1
  },
  "luminance": 0.34725
}

Semantic roles & 50–950 ramp

primary
#97A826
secondary
#7266C4
accent
#42E657
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A826

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

Preview Lab → · Contrast checker → · Palette generator →

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