#97A236#97A236

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

Color values

HEX#97A236
RGBrgb(151, 162, 54)
HSLhsl(66, 50%, 42%)
HSVhsv(66, 67%, 64%)
CMYKcmyk(6.8%, 0%, 66.7%, 36.5%)
CIE-LABlab(63.91, -18.40, 52.59)
CIE-LCHlch(63.91, 55.72, 109.28°)
OKLaboklab(68.25% -0.0551 0.1188)
OKLCHoklch(68.25% 0.131 114.9)
XYZxyz(26.3493, 32.6867, 8.4104)
Luminance0.3269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A236 #4136A2
analogous
#A27736 #97A236 #61A236
triadic
#97A236 #3697A2 #A23697
tetradic
#97A236 #36A277 #4136A2 #A23661
square
#97A236 #36A277 #4136A2 #A23661
split-complementary
#97A236 #3661A2 #7736A2
monochromatic
#414617 #6C7427 #97A236 #B9C550 #CBD47E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A236#FFFFFF#000000##000000
##97A2361.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a236;
/* rgb */ color: rgb(151, 162, 54);
/* oklch */ color: oklch(68.3% 0.131 114.9);
Tailwind
colors: {
  custom: {
    50: '#b8bd73',
    500: '#97a236',
    950: '#000000',
  },
}
SCSS
$custom: #97a236;
$custom-light: #b8bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#97a236",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 66.111,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68252,
    "c": 0.13092,
    "h": 114.9
  },
  "luminance": 0.32686
}

Semantic roles & 50–950 ramp

primary
#97A236
secondary
#7E77BD
accent
#4EDA5C
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A236

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

Preview Lab → · Contrast checker → · Palette generator →

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