#97A125#97A125

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

Color values

HEX#97A125
RGBrgb(151, 161, 37)
HSLhsl(65, 63%, 39%)
HSVhsv(65, 77%, 63%)
CMYKcmyk(6.2%, 0%, 77%, 36.9%)
CIE-LABlab(63.51, -18.80, 58.51)
CIE-LCHlch(63.51, 61.45, 107.81°)
OKLaboklab(67.9% -0.0578 0.1283)
OKLCHoklch(67.9% 0.141 114.3)
XYZxyz(25.8421, 32.2031, 6.6044)
Luminance0.3220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A125 #2F25A1
analogous
#A16D25 #97A125 #59A125
triadic
#97A125 #2597A1 #A12597
tetradic
#97A125 #25A16D #2F25A1 #A12559
square
#97A125 #25A16D #2F25A1 #A12559
split-complementary
#97A125 #2559A1 #6D25A1
monochromatic
#3A3D0E #686F1A #97A125 #C3D033 #D2DC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A125#FFFFFF#000000##000000
##97A1251.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)
#AD9904
Deuteranopia (green-blind)
#AD9B30
Tritanopia (blue-blind)
#A1978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a125;
/* rgb */ color: rgb(151, 161, 37);
/* oklch */ color: oklch(67.9% 0.141 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bc6a',
    500: '#97a125',
    950: '#000000',
  },
}
SCSS
$custom: #97a125;
$custom-light: #b9bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a125",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 37
  },
  "hsl": {
    "h": 64.839,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.679,
    "c": 0.14073,
    "h": 114.3
  },
  "luminance": 0.32203
}

Semantic roles & 50–950 ramp

primary
#97A125
secondary
#6861C1
accent
#42E64F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A125

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

Preview Lab → · Contrast checker → · Palette generator →

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