#97A12D#97A12D

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

Color values

HEX#97A12D
RGBrgb(151, 161, 45)
HSLhsl(65, 56%, 40%)
HSVhsv(65, 72%, 63%)
CMYKcmyk(6.2%, 0%, 72%, 36.9%)
CIE-LABlab(63.56, -18.42, 55.77)
CIE-LCHlch(63.56, 58.73, 108.27°)
OKLaboklab(67.95% -0.0561 0.1239)
OKLCHoklch(67.95% 0.136 114.3)
XYZxyz(25.9818, 32.2590, 7.3400)
Luminance0.3226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A12D #372DA1
analogous
#A1712D #97A12D #5DA12D
triadic
#97A12D #2D97A1 #A12D97
tetradic
#97A12D #2DA171 #372DA1 #A12D5D
square
#97A12D #2DA171 #372DA1 #A12D5D
split-complementary
#97A12D #2D5DA1 #712DA1
monochromatic
#3D4112 #6A7120 #97A12D #BECA41 #CFD771

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A12D#FFFFFF#000000##000000
##97A12D1.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)
#AD9918
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#A1978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a12d;
/* rgb */ color: rgb(151, 161, 45);
/* oklch */ color: oklch(68.0% 0.136 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bc6e',
    500: '#97a12d',
    950: '#000000',
  },
}
SCSS
$custom: #97a12d;
$custom-light: #b9bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a12d",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 65.172,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67951,
    "c": 0.13603,
    "h": 114.3
  },
  "luminance": 0.32259
}

Semantic roles & 50–950 ramp

primary
#97A12D
secondary
#726BBF
accent
#48E055
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A12D

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

Preview Lab → · Contrast checker → · Palette generator →

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