#97A12E#97A12E

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

Color values

HEX#97A12E
RGBrgb(151, 161, 46)
HSLhsl(65, 56%, 41%)
HSVhsv(65, 71%, 63%)
CMYKcmyk(6.2%, 0%, 71.4%, 36.9%)
CIE-LABlab(63.56, -18.36, 55.40)
CIE-LCHlch(63.56, 58.37, 108.34°)
OKLaboklab(67.96% -0.0558 0.1233)
OKLCHoklch(67.96% 0.135 114.3)
XYZxyz(26.0012, 32.2668, 7.4426)
Luminance0.3227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A12E #382EA1
analogous
#A1712E #97A12E #5EA12E
triadic
#97A12E #2E97A1 #A12E97
tetradic
#97A12E #2EA171 #382EA1 #A12E5E
square
#97A12E #2EA171 #382EA1 #A12E5E
split-complementary
#97A12E #2E5EA1 #712EA1
monochromatic
#3E4213 #6A7120 #97A12E #BEC943 #CED773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A12E#FFFFFF#000000##000000
##97A12E1.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)
#AD991A
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#A1978B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a12e;
/* rgb */ color: rgb(151, 161, 46);
/* oklch */ color: oklch(68.0% 0.135 114.3);
Tailwind
colors: {
  custom: {
    50: '#b9bc6f',
    500: '#97a12e',
    950: '#000000',
  },
}
SCSS
$custom: #97a12e;
$custom-light: #b9bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#97a12e",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 65.217,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67958,
    "c": 0.13538,
    "h": 114.3
  },
  "luminance": 0.32266
}

Semantic roles & 50–950 ramp

primary
#97A12E
secondary
#736CBE
accent
#49DF56
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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