#97A11E#97A11E

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

Color values

HEX#97A11E
RGBrgb(151, 161, 30)
HSLhsl(65, 69%, 37%)
HSVhsv(65, 81%, 63%)
CMYKcmyk(6.2%, 0%, 81.4%, 36.9%)
CIE-LABlab(63.48, -19.08, 60.59)
CIE-LCHlch(63.48, 63.52, 107.48°)
OKLaboklab(67.86% -0.0592 0.1315)
OKLCHoklch(67.86% 0.144 114.2)
XYZxyz(25.7425, 32.1633, 6.0801)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A11E #281EA1
analogous
#A1691E #97A11E #56A11E
triadic
#97A11E #1E97A1 #A11E97
tetradic
#97A11E #1EA169 #281EA1 #A11E56
square
#97A11E #1EA169 #281EA1 #A11E56
split-complementary
#97A11E #1E56A1 #691EA1
monochromatic
#363A0B #676D14 #97A11E #C7D528 #D6E059

Accessibility & contrast

On white

2.83
#97A11E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#97A11E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A11E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A11E#FFFFFF#000000##000000
##97A11E1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AD9B2B
Tritanopia (blue-blind)
#A29789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a11e;
/* rgb */ color: rgb(151, 161, 30);
/* oklch */ color: oklch(67.9% 0.144 114.2);
Tailwind
colors: {
  custom: {
    50: '#b9bc67',
    500: '#97a11e',
    950: '#000000',
  },
}
SCSS
$custom: #97a11e;
$custom-light: #b9bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#97a11e",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 30
  },
  "hsl": {
    "h": 64.58,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67863,
    "c": 0.14416,
    "h": 114.2
  },
  "luminance": 0.32163
}

Semantic roles & 50–950 ramp

primary
#97A11E
secondary
#5F57C4
accent
#3CEB4A
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A11E

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

Preview Lab → · Contrast checker → · Palette generator →

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