#97A028#97A028

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

Color values

HEX#97A028
RGBrgb(151, 160, 40)
HSLhsl(65, 60%, 39%)
HSVhsv(65, 75%, 63%)
CMYKcmyk(5.6%, 0%, 75%, 37.3%)
CIE-LABlab(63.24, -18.15, 57.25)
CIE-LCHlch(63.24, 60.06, 107.59°)
OKLaboklab(67.69% -0.0558 0.1262)
OKLCHoklch(67.69% 0.138 113.9)
XYZxyz(25.7171, 31.8746, 6.8048)
Luminance0.3187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A028 #3128A0
analogous
#A06D28 #97A028 #5BA028
triadic
#97A028 #2897A0 #A02897
tetradic
#97A028 #28A06D #3128A0 #A0285B
square
#97A028 #28A06D #3128A0 #A0285B
split-complementary
#97A028 #285BA0 #6D28A0
monochromatic
#3B3E10 #696F1C #97A028 #C2CD38 #D1D969

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A028#FFFFFF#000000##000000
##97A0281.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)
#AC980E
Deuteranopia (green-blind)
#AC9A32
Tritanopia (blue-blind)
#A19689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a028;
/* rgb */ color: rgb(151, 160, 40);
/* oklch */ color: oklch(67.7% 0.138 113.9);
Tailwind
colors: {
  custom: {
    50: '#b9bb6b',
    500: '#97a028',
    950: '#000000',
  },
}
SCSS
$custom: #97a028;
$custom-light: #b9bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a028",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 64.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67687,
    "c": 0.13795,
    "h": 113.9
  },
  "luminance": 0.31874
}

Semantic roles & 50–950 ramp

primary
#97A028
secondary
#6B64C0
accent
#45E351
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #97A028

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

Preview Lab → · Contrast checker → · Palette generator →

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