#97A623#97A623

#97A623 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.0% C 0.147 H 116.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#97A623
RGBrgb(151, 166, 35)
HSLhsl(67, 65%, 39%)
HSVhsv(67, 79%, 65%)
CMYKcmyk(9%, 0%, 78.9%, 34.9%)
CIE-LABlab(64.94, -21.41, 60.44)
CIE-LCHlch(64.94, 64.12, 109.51°)
OKLaboklab(69.05% -0.0652 0.132)
OKLCHoklch(69.05% 0.147 116.3)
XYZxyz(26.7028, 33.9735, 6.7406)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A623 #3223A6
analogous
#A67423 #97A623 #56A623
triadic
#97A623 #2397A6 #A62397
tetradic
#97A623 #23A674 #3223A6 #A62356
square
#97A623 #23A674 #3223A6 #A62356
split-complementary
#97A623 #2356A6 #7423A6
monochromatic
#3B410E #697318 #97A623 #C1D432 #D1DF65

Accessibility & contrast

On white

2.69
#97A623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#97A623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A623
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A623#FFFFFF#000000##000000
##97A6231.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19E30
Tritanopia (blue-blind)
#A19C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a623;
/* rgb */ color: rgb(151, 166, 35);
/* oklch */ color: oklch(69.0% 0.147 116.3);
Tailwind
colors: {
  custom: {
    50: '#b9c06a',
    500: '#97a623',
    950: '#000000',
  },
}
SCSS
$custom: #97a623;
$custom-light: #b9c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a623",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 66.87,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69045,
    "c": 0.14726,
    "h": 116.3
  },
  "luminance": 0.33973
}

Semantic roles & 50–950 ramp

primary
#97A623
secondary
#6C61C4
accent
#40E853
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A623

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

Preview Lab → · Contrast checker → · Palette generator →

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