#97A12A#97A12A

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

Color values

HEX#97A12A
RGBrgb(151, 161, 42)
HSLhsl(65, 59%, 40%)
HSVhsv(65, 74%, 63%)
CMYKcmyk(6.2%, 0%, 73.9%, 36.9%)
CIE-LABlab(63.54, -18.57, 56.84)
CIE-LCHlch(63.54, 59.79, 108.09°)
OKLaboklab(67.93% -0.0568 0.1257)
OKLCHoklch(67.93% 0.138 114.3)
XYZxyz(25.9260, 32.2367, 7.0466)
Luminance0.3224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A12A #342AA1
analogous
#A1702A #97A12A #5CA12A
triadic
#97A12A #2A97A1 #A12A97
tetradic
#97A12A #2AA170 #342AA1 #A12A5C
square
#97A12A #2AA170 #342AA1 #A12A5C
split-complementary
#97A12A #2A5CA1 #702AA1
monochromatic
#3C4011 #69701D #97A12A #C0CC3C #D0D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A12A#FFFFFF#000000##000000
##97A12A1.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)
#AD9912
Deuteranopia (green-blind)
#AC9B34
Tritanopia (blue-blind)
#A1978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a12a;
/* rgb */ color: rgb(151, 161, 42);
/* oklch */ color: oklch(67.9% 0.138 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bc6d',
    500: '#97a12a',
    950: '#000000',
  },
}
SCSS
$custom: #97a12a;
$custom-light: #b9bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a12a",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 65.042,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67931,
    "c": 0.13788,
    "h": 114.3
  },
  "luminance": 0.32236
}

Semantic roles & 50–950 ramp

primary
#97A12A
secondary
#6F67C0
accent
#46E253
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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