#97A142#97A142

#97A142 is a light, moderate yellow. Relative luminance 0.325; OKLCH L 68.1% C 0.120 H 114.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#97A142
RGBrgb(151, 161, 66)
HSLhsl(66, 42%, 45%)
HSVhsv(66, 59%, 63%)
CMYKcmyk(6.2%, 0%, 59%, 36.9%)
CIE-LABlab(63.72, -17.03, 47.15)
CIE-LCHlch(63.72, 50.13, 109.86°)
OKLaboklab(68.14% -0.05 0.1089)
OKLCHoklch(68.14% 0.12 114.7)
XYZxyz(26.4913, 32.4628, 10.0236)
Luminance0.3246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A142 #4C42A1
analogous
#A17C42 #97A142 #68A142
triadic
#97A142 #4297A1 #A14297
tetradic
#97A142 #42A17C #4C42A1 #A14268
square
#97A142 #42A17C #4C42A1 #A14268
split-complementary
#97A142 #4268A1 #7C42A1
monochromatic
#464A1E #6E7630 #97A142 #B5BF62 #C9D08D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A142#FFFFFF#000000##000000
##97A1421.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)
#AC9A38
Deuteranopia (green-blind)
#AB9B48
Tritanopia (blue-blind)
#A0988D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a142;
/* rgb */ color: rgb(151, 161, 66);
/* oklch */ color: oklch(68.1% 0.120 114.7);
Tailwind
colors: {
  custom: {
    50: '#b8bc7a',
    500: '#97a142',
    950: '#000000',
  },
}
SCSS
$custom: #97a142;
$custom-light: #b8bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a142",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 66.316,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68139,
    "c": 0.11985,
    "h": 114.7
  },
  "luminance": 0.32462
}

Semantic roles & 50–950 ramp

primary
#97A142
secondary
#8983BB
accent
#56D263
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #97A142

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

Preview Lab → · Contrast checker → · Palette generator →

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