#97A026#97A026

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

Color values

HEX#97A026
RGBrgb(151, 160, 38)
HSLhsl(64, 62%, 39%)
HSVhsv(64, 76%, 63%)
CMYKcmyk(5.6%, 0%, 76.3%, 37.3%)
CIE-LABlab(63.23, -18.25, 57.92)
CIE-LCHlch(63.23, 60.72, 107.49°)
OKLaboklab(67.68% -0.0562 0.1272)
OKLCHoklch(67.68% 0.139 113.8)
XYZxyz(25.6839, 31.8614, 6.6302)
Luminance0.3186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A026 #2F26A0
analogous
#A06C26 #97A026 #5AA026
triadic
#97A026 #2697A0 #A02697
tetradic
#97A026 #26A06C #2F26A0 #A0265A
square
#97A026 #26A06C #2F26A0 #A0265A
split-complementary
#97A026 #265AA0 #6C26A0
monochromatic
#3A3D0F #686F1A #97A026 #C3CF34 #D2DB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A026#FFFFFF#000000##000000
##97A0261.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)
#AC9807
Deuteranopia (green-blind)
#AC9A31
Tritanopia (blue-blind)
#A19689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a026;
/* rgb */ color: rgb(151, 160, 38);
/* oklch */ color: oklch(67.7% 0.139 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bb6b',
    500: '#97a026',
    950: '#000000',
  },
}
SCSS
$custom: #97a026;
$custom-light: #b9bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#97a026",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 38
  },
  "hsl": {
    "h": 64.426,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67675,
    "c": 0.13909,
    "h": 113.8
  },
  "luminance": 0.31861
}

Semantic roles & 50–950 ramp

primary
#97A026
secondary
#6861C0
accent
#43E54F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #97A026

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

Preview Lab → · Contrast checker → · Palette generator →

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