#97A245#97A245

#97A245 is a light, moderate yellow. Relative luminance 0.329; OKLCH L 68.4% C 0.118 H 115.2°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#97A245
RGBrgb(151, 162, 69)
HSLhsl(67, 40%, 45%)
HSVhsv(67, 57%, 64%)
CMYKcmyk(6.8%, 0%, 57.4%, 36.5%)
CIE-LABlab(64.04, -17.30, 46.11)
CIE-LCHlch(64.04, 49.25, 110.57°)
OKLaboklab(68.4% -0.0504 0.1071)
OKLCHoklch(68.4% 0.118 115.2)
XYZxyz(26.7575, 32.8500, 10.5602)
Luminance0.3285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A245 #5045A2
analogous
#A27F45 #97A245 #68A245
triadic
#97A245 #4597A2 #A24597
tetradic
#97A245 #45A27F #5045A2 #A24568
square
#97A245 #45A27F #5045A2 #A24568
split-complementary
#97A245 #4568A2 #7F45A2
monochromatic
#474C20 #6F7733 #97A245 #B4BE66 #C9D091

Accessibility & contrast

On white

2.77
#97A245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#97A245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A245
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A245#FFFFFF#000000##000000
##97A2451.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A3B
Deuteranopia (green-blind)
#AC9C4B
Tritanopia (blue-blind)
#A0998E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a245;
/* rgb */ color: rgb(151, 162, 69);
/* oklch */ color: oklch(68.4% 0.118 115.2);
Tailwind
colors: {
  custom: {
    50: '#b8bd7c',
    500: '#97a245',
    950: '#000000',
  },
}
SCSS
$custom: #97a245;
$custom-light: #b8bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#97a245",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 67.097,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68401,
    "c": 0.11835,
    "h": 115.2
  },
  "luminance": 0.3285
}

Semantic roles & 50–950 ramp

primary
#97A245
secondary
#8D87BC
accent
#58D066
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #97A245

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

Preview Lab → · Contrast checker → · Palette generator →

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