#97A234#97A234

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

Color values

HEX#97A234
RGBrgb(151, 162, 52)
HSLhsl(66, 51%, 42%)
HSVhsv(66, 68%, 64%)
CMYKcmyk(6.8%, 0%, 67.9%, 36.5%)
CIE-LABlab(63.89, -18.53, 53.39)
CIE-LCHlch(63.89, 56.52, 109.14°)
OKLaboklab(68.24% -0.0557 0.1201)
OKLCHoklch(68.24% 0.132 114.9)
XYZxyz(26.3033, 32.6683, 8.1681)
Luminance0.3267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A234 #3F34A2
analogous
#A27634 #97A234 #60A234
triadic
#97A234 #3497A2 #A23497
tetradic
#97A234 #34A276 #3F34A2 #A23460
square
#97A234 #34A276 #3F34A2 #A23460
split-complementary
#97A234 #3460A2 #7634A2
monochromatic
#414516 #6C7425 #97A234 #BAC64D #CCD57C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A234#FFFFFF#000000##000000
##97A2341.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)
#AD9A24
Deuteranopia (green-blind)
#AD9C3C
Tritanopia (blue-blind)
#A1998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a234;
/* rgb */ color: rgb(151, 162, 52);
/* oklch */ color: oklch(68.2% 0.132 114.9);
Tailwind
colors: {
  custom: {
    50: '#b8bd72',
    500: '#97a234',
    950: '#000000',
  },
}
SCSS
$custom: #97a234;
$custom-light: #b8bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#97a234",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 66,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68235,
    "c": 0.13239,
    "h": 114.9
  },
  "luminance": 0.32668
}

Semantic roles & 50–950 ramp

primary
#97A234
secondary
#7C74BE
accent
#4DDB5B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A234

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

Preview Lab → · Contrast checker → · Palette generator →

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