#97A820#97A820

#97A820 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.5% C 0.151 H 117.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#97A820
RGBrgb(151, 168, 32)
HSLhsl(68, 68%, 39%)
HSVhsv(68, 81%, 66%)
CMYKcmyk(10.1%, 0%, 81%, 34.1%)
CIE-LABlab(65.51, -22.53, 61.81)
CIE-LCHlch(65.51, 65.79, 110.02°)
OKLaboklab(69.49% -0.0685 0.1344)
OKLCHoklch(69.49% 0.151 117)
XYZxyz(27.0266, 34.6892, 6.6382)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A820 #3120A8
analogous
#A87520 #97A820 #53A820
triadic
#97A820 #2097A8 #A82097
tetradic
#97A820 #20A875 #3120A8 #A82053
square
#97A820 #20A875 #3120A8 #A82053
split-complementary
#97A820 #2053A8 #7520A8
monochromatic
#3B410C #697516 #97A820 #C2D72E #D1E161

Accessibility & contrast

On white

2.65
#97A820 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#97A820 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A820
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A820#FFFFFF#000000##000000
##97A8201.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B2A02E
Tritanopia (blue-blind)
#A19E8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a820;
/* rgb */ color: rgb(151, 168, 32);
/* oklch */ color: oklch(69.5% 0.151 117.0);
Tailwind
colors: {
  custom: {
    50: '#b9c169',
    500: '#97a820',
    950: '#000000',
  },
}
SCSS
$custom: #97a820;
$custom-light: #b9c169;
$custom-dark: #000000;
JSON
{
  "hex": "#97a820",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 67.5,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69495,
    "c": 0.15089,
    "h": 117
  },
  "luminance": 0.34689
}

Semantic roles & 50–950 ramp

primary
#97A820
secondary
#6B5EC6
accent
#3DEB53
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A820

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

Preview Lab → · Contrast checker → · Palette generator →

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