#97A025#97A025

#97A025 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.140 H 113.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#97A025
RGBrgb(151, 160, 37)
HSLhsl(64, 62%, 39%)
HSVhsv(64, 77%, 63%)
CMYKcmyk(5.6%, 0%, 76.9%, 37.3%)
CIE-LABlab(63.22, -18.29, 58.24)
CIE-LCHlch(63.22, 61.04, 107.44°)
OKLaboklab(67.67% -0.0564 0.1277)
OKLCHoklch(67.67% 0.14 113.8)
XYZxyz(25.6680, 31.8550, 6.5464)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A025 #2E25A0
analogous
#A06B25 #97A025 #59A025
triadic
#97A025 #2597A0 #A02597
tetradic
#97A025 #25A06B #2E25A0 #A02559
square
#97A025 #25A06B #2E25A0 #A02559
split-complementary
#97A025 #2559A0 #6B25A0
monochromatic
#393D0E #686E1A #97A025 #C4D032 #D2DB64

Accessibility & contrast

On white

2.85
#97A025 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#97A025 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A025
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A025#FFFFFF#000000##000000
##97A0251.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9804
Deuteranopia (green-blind)
#AC9A30
Tritanopia (blue-blind)
#A19689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a025;
/* rgb */ color: rgb(151, 160, 37);
/* oklch */ color: oklch(67.7% 0.140 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bb6a',
    500: '#97a025',
    950: '#000000',
  },
}
SCSS
$custom: #97a025;
$custom-light: #b9bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a025",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 37
  },
  "hsl": {
    "h": 64.39,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67669,
    "c": 0.13964,
    "h": 113.8
  },
  "luminance": 0.31854
}

Semantic roles & 50–950 ramp

primary
#97A025
secondary
#6760C1
accent
#42E64E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #97A025

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

Preview Lab → · Contrast checker → · Palette generator →

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