#97A12B#97A12B

#97A12B is a light, vivid yellow. Relative luminance 0.322; OKLCH L 67.9% C 0.137 H 114.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#97A12B
RGBrgb(151, 161, 43)
HSLhsl(65, 58%, 40%)
HSVhsv(65, 73%, 63%)
CMYKcmyk(6.2%, 0%, 73.3%, 36.9%)
CIE-LABlab(63.54, -18.52, 56.49)
CIE-LCHlch(63.54, 59.44, 108.15°)
OKLaboklab(67.94% -0.0565 0.1251)
OKLCHoklch(67.94% 0.137 114.3)
XYZxyz(25.9442, 32.2440, 7.1420)
Luminance0.3224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A12B #352BA1
analogous
#A1702B #97A12B #5CA12B
triadic
#97A12B #2B97A1 #A12B97
tetradic
#97A12B #2BA170 #352BA1 #A12B5C
square
#97A12B #2BA170 #352BA1 #A12B5C
split-complementary
#97A12B #2B5CA1 #702BA1
monochromatic
#3C4011 #6A711E #97A12B #BFCB3E #CFD86E

Accessibility & contrast

On white

2.82
#97A12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#97A12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A12B
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A12B#FFFFFF#000000##000000
##97A12B1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9914
Deuteranopia (green-blind)
#AC9B35
Tritanopia (blue-blind)
#A1978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a12b;
/* rgb */ color: rgb(151, 161, 43);
/* oklch */ color: oklch(67.9% 0.137 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bc6d',
    500: '#97a12b',
    950: '#000000',
  },
}
SCSS
$custom: #97a12b;
$custom-light: #b9bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a12b",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 65.085,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.67937,
    "c": 0.13728,
    "h": 114.3
  },
  "luminance": 0.32243
}

Semantic roles & 50–950 ramp

primary
#97A12B
secondary
#7069BF
accent
#47E154
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A12B

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

Preview Lab → · Contrast checker → · Palette generator →

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