#97A128#97A128

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

Color values

HEX#97A128
RGBrgb(151, 161, 40)
HSLhsl(65, 60%, 39%)
HSVhsv(65, 75%, 63%)
CMYKcmyk(6.2%, 0%, 75.2%, 36.9%)
CIE-LABlab(63.53, -18.67, 57.52)
CIE-LCHlch(63.53, 60.47, 107.98°)
OKLaboklab(67.92% -0.0572 0.1268)
OKLCHoklch(67.92% 0.139 114.3)
XYZxyz(25.8911, 32.2227, 6.8628)
Luminance0.3222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A128 #3228A1
analogous
#A16F28 #97A128 #5AA128
triadic
#97A128 #2897A1 #A12897
tetradic
#97A128 #28A16F #3228A1 #A1285A
square
#97A128 #28A16F #3228A1 #A1285A
split-complementary
#97A128 #285AA1 #6F28A1
monochromatic
#3B3F10 #69701C #97A128 #C1CE39 #D1DA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A128#FFFFFF#000000##000000
##97A1281.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)
#AD990D
Deuteranopia (green-blind)
#AD9B32
Tritanopia (blue-blind)
#A1978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a128;
/* rgb */ color: rgb(151, 161, 40);
/* oklch */ color: oklch(67.9% 0.139 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bc6c',
    500: '#97a128',
    950: '#000000',
  },
}
SCSS
$custom: #97a128;
$custom-light: #b9bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a128",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 64.959,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67918,
    "c": 0.13906,
    "h": 114.3
  },
  "luminance": 0.32222
}

Semantic roles & 50–950 ramp

primary
#97A128
secondary
#6C65C0
accent
#44E352
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A128

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

Preview Lab → · Contrast checker → · Palette generator →

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