#97A23A#97A23A

#97A23A is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.128 H 115.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#97A23A
RGBrgb(151, 162, 58)
HSLhsl(66, 47%, 43%)
HSVhsv(66, 64%, 64%)
CMYKcmyk(6.8%, 0%, 64.2%, 36.5%)
CIE-LABlab(63.94, -18.14, 50.94)
CIE-LCHlch(63.94, 54.08, 109.60°)
OKLaboklab(68.29% -0.054 0.1159)
OKLCHoklch(68.29% 0.128 115)
XYZxyz(26.4472, 32.7259, 8.9257)
Luminance0.3272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A23A #453AA2
analogous
#A2793A #97A23A #63A23A
triadic
#97A23A #3A97A2 #A23A97
tetradic
#97A23A #3AA279 #453AA2 #A23A63
square
#97A23A #3AA279 #453AA2 #A23A63
split-complementary
#97A23A #3A63A2 #793AA2
monochromatic
#43481A #6D752A #97A23A #B7C357 #CAD384

Accessibility & contrast

On white

2.78
#97A23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#97A23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A23A
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A23A#FFFFFF#000000##000000
##97A23A1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2D
Deuteranopia (green-blind)
#AC9C41
Tritanopia (blue-blind)
#A0998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a23a;
/* rgb */ color: rgb(151, 162, 58);
/* oklch */ color: oklch(68.3% 0.128 115.0);
Tailwind
colors: {
  custom: {
    50: '#b8bd75',
    500: '#97a23a',
    950: '#000000',
  },
}
SCSS
$custom: #97a23a;
$custom-light: #b8bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#97a23a",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 66.346,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68288,
    "c": 0.12782,
    "h": 115
  },
  "luminance": 0.32725
}

Semantic roles & 50–950 ramp

primary
#97A23A
secondary
#827BBD
accent
#51D75F
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A23A

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

Preview Lab → · Contrast checker → · Palette generator →

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