#97A140#97A140

#97A140 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.1% C 0.122 H 114.6°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#97A140
RGBrgb(151, 161, 64)
HSLhsl(66, 43%, 44%)
HSVhsv(66, 60%, 63%)
CMYKcmyk(6.2%, 0%, 60.2%, 36.9%)
CIE-LABlab(63.70, -17.19, 48.04)
CIE-LCHlch(63.70, 51.02, 109.68°)
OKLaboklab(68.12% -0.0507 0.1106)
OKLCHoklch(68.12% 0.122 114.6)
XYZxyz(26.4334, 32.4396, 9.7185)
Luminance0.3244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A140 #4A40A1
analogous
#A17B40 #97A140 #67A140
triadic
#97A140 #4097A1 #A14097
tetradic
#97A140 #40A17B #4A40A1 #A14067
square
#97A140 #40A17B #4A40A1 #A14067
split-complementary
#97A140 #4067A1 #7B40A1
monochromatic
#45491D #6E752F #97A140 #B5BF5F #CAD18B

Accessibility & contrast

On white

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

On black

7.49
#97A140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A140
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A140#FFFFFF#000000##000000
##97A1401.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9935
Deuteranopia (green-blind)
#AB9B46
Tritanopia (blue-blind)
#A0988C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a140;
/* rgb */ color: rgb(151, 161, 64);
/* oklch */ color: oklch(68.1% 0.122 114.6);
Tailwind
colors: {
  custom: {
    50: '#b8bc79',
    500: '#97a140',
    950: '#000000',
  },
}
SCSS
$custom: #97a140;
$custom-light: #b8bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#97a140",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 66.186,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68117,
    "c": 0.12161,
    "h": 114.6
  },
  "luminance": 0.32439
}

Semantic roles & 50–950 ramp

primary
#97A140
secondary
#8781BC
accent
#55D362
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #97A140

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

Preview Lab → · Contrast checker → · Palette generator →

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