#97A233#97A233

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

Color values

HEX#97A233
RGBrgb(151, 162, 51)
HSLhsl(66, 52%, 42%)
HSVhsv(66, 69%, 64%)
CMYKcmyk(6.8%, 0%, 68.5%, 36.5%)
CIE-LABlab(63.88, -18.59, 53.79)
CIE-LCHlch(63.88, 56.91, 109.06°)
OKLaboklab(68.23% -0.0559 0.1208)
OKLCHoklch(68.23% 0.133 114.9)
XYZxyz(26.2810, 32.6594, 8.0508)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A233 #3E33A2
analogous
#A27633 #97A233 #60A233
triadic
#97A233 #3397A2 #A23397
tetradic
#97A233 #33A276 #3E33A2 #A23360
square
#97A233 #33A276 #3E33A2 #A23360
split-complementary
#97A233 #3360A2 #7633A2
monochromatic
#404516 #6C7324 #97A233 #BAC74C #CCD57A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A233#FFFFFF#000000##000000
##97A2331.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)
#AE9A22
Deuteranopia (green-blind)
#AD9C3B
Tritanopia (blue-blind)
#A1998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a233;
/* rgb */ color: rgb(151, 162, 51);
/* oklch */ color: oklch(68.2% 0.133 114.9);
Tailwind
colors: {
  custom: {
    50: '#b8bd71',
    500: '#97a233',
    950: '#000000',
  },
}
SCSS
$custom: #97a233;
$custom-light: #b8bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#97a233",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 65.946,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68227,
    "c": 0.13311,
    "h": 114.9
  },
  "luminance": 0.32659
}

Semantic roles & 50–950 ramp

primary
#97A233
secondary
#7A73BE
accent
#4CDC5A
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A233

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

Preview Lab → · Contrast checker → · Palette generator →

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