#97A223#97A223

#97A223 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.1% C 0.143 H 114.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#97A223
RGBrgb(151, 162, 35)
HSLhsl(65, 64%, 39%)
HSVhsv(65, 78%, 64%)
CMYKcmyk(6.8%, 0%, 78.4%, 36.5%)
CIE-LABlab(63.79, -19.39, 59.39)
CIE-LCHlch(63.79, 62.48, 108.08°)
OKLaboklab(68.12% -0.0596 0.1298)
OKLCHoklch(68.12% 0.143 114.7)
XYZxyz(25.9870, 32.5418, 6.5020)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A223 #2E23A2
analogous
#A26D23 #97A223 #57A223
triadic
#97A223 #2397A2 #A22397
tetradic
#97A223 #23A26D #2E23A2 #A22357
square
#97A223 #23A26D #2E23A2 #A22357
split-complementary
#97A223 #2357A2 #6D23A2
monochromatic
#393D0D #687018 #97A223 #C4D230 #D2DD62

Accessibility & contrast

On white

2.80
#97A223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#97A223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A223
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A223#FFFFFF#000000##000000
##97A2231.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#A1988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a223;
/* rgb */ color: rgb(151, 162, 35);
/* oklch */ color: oklch(68.1% 0.143 114.7);
Tailwind
colors: {
  custom: {
    50: '#b9bd69',
    500: '#97a223',
    950: '#000000',
  },
}
SCSS
$custom: #97a223;
$custom-light: #b9bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#97a223",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 65.197,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68119,
    "c": 0.14286,
    "h": 114.7
  },
  "luminance": 0.32541
}

Semantic roles & 50–950 ramp

primary
#97A223
secondary
#675EC2
accent
#40E74F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A223

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

Preview Lab → · Contrast checker → · Palette generator →

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