#97A823#97A823

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

Color values

HEX#97A823
RGBrgb(151, 168, 35)
HSLhsl(68, 66%, 40%)
HSVhsv(68, 79%, 66%)
CMYKcmyk(10.1%, 0%, 79.2%, 34.1%)
CIE-LABlab(65.52, -22.41, 60.96)
CIE-LCHlch(65.52, 64.95, 110.19°)
OKLaboklab(69.51% -0.068 0.1331)
OKLCHoklch(69.51% 0.149 117)
XYZxyz(27.0692, 34.7063, 6.8628)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A823 #3423A8
analogous
#A87623 #97A823 #55A823
triadic
#97A823 #2397A8 #A82397
tetradic
#97A823 #23A876 #3423A8 #A82355
square
#97A823 #23A876 #3423A8 #A82355
split-complementary
#97A823 #2355A8 #7623A8
monochromatic
#3C430E #697518 #97A823 #C0D534 #D0DF66

Accessibility & contrast

On white

2.64
#97A823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A823#FFFFFF#000000##000000
##97A8231.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a823;
/* rgb */ color: rgb(151, 168, 35);
/* oklch */ color: oklch(69.5% 0.149 117.0);
Tailwind
colors: {
  custom: {
    50: '#b9c16a',
    500: '#97a823',
    950: '#000000',
  },
}
SCSS
$custom: #97a823;
$custom-light: #b9c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a823",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 67.669,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6951,
    "c": 0.14949,
    "h": 117
  },
  "luminance": 0.34706
}

Semantic roles & 50–950 ramp

primary
#97A823
secondary
#6F62C5
accent
#3FE855
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A823

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

Preview Lab → · Contrast checker → · Palette generator →

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