#97A423#97A423

#97A423 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.6% C 0.145 H 115.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#97A423
RGBrgb(151, 164, 35)
HSLhsl(66, 65%, 39%)
HSVhsv(66, 79%, 64%)
CMYKcmyk(7.9%, 0%, 78.7%, 35.7%)
CIE-LABlab(64.36, -20.41, 59.91)
CIE-LCHlch(64.36, 63.29, 108.81°)
OKLaboklab(68.58% -0.0624 0.1309)
OKLCHoklch(68.58% 0.145 115.5)
XYZxyz(26.3421, 33.2520, 6.6204)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A423 #3023A4
analogous
#A47123 #97A423 #56A423
triadic
#97A423 #2397A4 #A42397
tetradic
#97A423 #23A471 #3023A4 #A42356
square
#97A423 #23A471 #3023A4 #A42356
split-complementary
#97A423 #2356A4 #7123A4
monochromatic
#3A3F0D #697218 #97A423 #C3D331 #D2DE64

Accessibility & contrast

On white

2.74
#97A423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#97A423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A423
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A423#FFFFFF#000000##000000
##97A4231.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AF9D2F
Tritanopia (blue-blind)
#A19A8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a423;
/* rgb */ color: rgb(151, 164, 35);
/* oklch */ color: oklch(68.6% 0.145 115.5);
Tailwind
colors: {
  custom: {
    50: '#b9be6a',
    500: '#97a423',
    950: '#000000',
  },
}
SCSS
$custom: #97a423;
$custom-light: #b9be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a423",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 66.047,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68582,
    "c": 0.14505,
    "h": 115.5
  },
  "luminance": 0.33252
}

Semantic roles & 50–950 ramp

primary
#97A423
secondary
#6A60C3
accent
#40E851
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A423

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

Preview Lab → · Contrast checker → · Palette generator →

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