#97A13B#97A13B

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

Color values

HEX#97A13B
RGBrgb(151, 161, 59)
HSLhsl(66, 46%, 43%)
HSVhsv(66, 63%, 63%)
CMYKcmyk(6.2%, 0%, 63.4%, 36.9%)
CIE-LABlab(63.66, -17.55, 50.22)
CIE-LCHlch(63.66, 53.20, 109.27°)
OKLaboklab(68.07% -0.0522 0.1145)
OKLCHoklch(68.07% 0.126 114.5)
XYZxyz(26.2974, 32.3853, 9.0025)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A13B #453BA1
analogous
#A1783B #97A13B #64A13B
triadic
#97A13B #3B97A1 #A13B97
tetradic
#97A13B #3BA178 #453BA1 #A13B64
square
#97A13B #3BA178 #453BA1 #A13B64
split-complementary
#97A13B #3B64A1 #783BA1
monochromatic
#43471A #6D742B #97A13B #B7C258 #CAD284

Accessibility & contrast

On white

2.81
#97A13B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#97A13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A13B
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A13B#FFFFFF#000000##000000
##97A13B1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a13b;
/* rgb */ color: rgb(151, 161, 59);
/* oklch */ color: oklch(68.1% 0.126 114.5);
Tailwind
colors: {
  custom: {
    50: '#b8bc76',
    500: '#97a13b',
    950: '#000000',
  },
}
SCSS
$custom: #97a13b;
$custom-light: #b8bc76;
$custom-dark: #000000;
JSON
{
  "hex": "#97a13b",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 59
  },
  "hsl": {
    "h": 65.882,
    "s": 46.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68067,
    "c": 0.12583,
    "h": 114.5
  },
  "luminance": 0.32385
}

Semantic roles & 50–950 ramp

primary
#97A13B
secondary
#827CBC
accent
#52D65F
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A13B

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

Preview Lab → · Contrast checker → · Palette generator →

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