#97A12F#97A12F

#97A12F is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.135 H 114.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#97A12F
RGBrgb(151, 161, 47)
HSLhsl(65, 55%, 41%)
HSVhsv(65, 71%, 63%)
CMYKcmyk(6.2%, 0%, 70.8%, 36.9%)
CIE-LABlab(63.57, -18.31, 55.03)
CIE-LCHlch(63.57, 58.00, 108.40°)
OKLaboklab(67.97% -0.0556 0.1227)
OKLCHoklch(67.97% 0.135 114.4)
XYZxyz(26.0212, 32.2748, 7.5477)
Luminance0.3227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A12F #392FA1
analogous
#A1722F #97A12F #5EA12F
triadic
#97A12F #2F97A1 #A12F97
tetradic
#97A12F #2FA172 #392FA1 #A12F5E
square
#97A12F #2FA172 #392FA1 #A12F5E
split-complementary
#97A12F #2F5EA1 #722FA1
monochromatic
#3E4213 #6B7221 #97A12F #BDC945 #CED674

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A12F#FFFFFF#000000##000000
##97A12F1.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)
#AD991C
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#A1978B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a12f;
/* rgb */ color: rgb(151, 161, 47);
/* oklch */ color: oklch(68.0% 0.135 114.4);
Tailwind
colors: {
  custom: {
    50: '#b9bc6f',
    500: '#97a12f',
    950: '#000000',
  },
}
SCSS
$custom: #97a12f;
$custom-light: #b9bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#97a12f",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 65.263,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67966,
    "c": 0.13472,
    "h": 114.4
  },
  "luminance": 0.32274
}

Semantic roles & 50–950 ramp

primary
#97A12F
secondary
#756EBE
accent
#4ADE57
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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