#97A230#97A230

#97A230 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.2% C 0.135 H 114.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#97A230
RGBrgb(151, 162, 48)
HSLhsl(66, 54%, 41%)
HSVhsv(66, 70%, 64%)
CMYKcmyk(6.8%, 0%, 70.4%, 36.5%)
CIE-LABlab(63.86, -18.76, 54.94)
CIE-LCHlch(63.86, 58.06, 108.86°)
OKLaboklab(68.2% -0.0567 0.1227)
OKLCHoklch(68.2% 0.135 114.8)
XYZxyz(26.2170, 32.6338, 7.7136)
Luminance0.3263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A230 #3B30A2
analogous
#A27430 #97A230 #5EA230
triadic
#97A230 #3097A2 #A23097
tetradic
#97A230 #30A274 #3B30A2 #A2305E
square
#97A230 #30A274 #3B30A2 #A2305E
split-complementary
#97A230 #305EA2 #7430A2
monochromatic
#3F4414 #6B7322 #97A230 #BCC847 #CDD676

Accessibility & contrast

On white

2.79
#97A230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#97A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A230
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A230#FFFFFF#000000##000000
##97A2301.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1D
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#A1998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a230;
/* rgb */ color: rgb(151, 162, 48);
/* oklch */ color: oklch(68.2% 0.135 114.8);
Tailwind
colors: {
  custom: {
    50: '#b9bd70',
    500: '#97a230',
    950: '#000000',
  },
}
SCSS
$custom: #97a230;
$custom-light: #b9bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#97a230",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 65.789,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68203,
    "c": 0.13518,
    "h": 114.8
  },
  "luminance": 0.32633
}

Semantic roles & 50–950 ramp

primary
#97A230
secondary
#776FBE
accent
#4ADE58
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A230

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

Preview Lab → · Contrast checker → · Palette generator →

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