#97A118#97A118

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

Color values

HEX#97A118
RGBrgb(151, 161, 24)
HSLhsl(64, 74%, 36%)
HSVhsv(64, 85%, 63%)
CMYKcmyk(6.2%, 0%, 85.1%, 36.9%)
CIE-LABlab(63.45, -19.27, 62.11)
CIE-LCHlch(63.45, 65.03, 107.24°)
OKLaboklab(67.84% -0.0601 0.1337)
OKLCHoklch(67.84% 0.147 114.2)
XYZxyz(25.6731, 32.1355, 5.7143)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A118 #2218A1
analogous
#A16718 #97A118 #53A118
triadic
#97A118 #1897A1 #A11897
tetradic
#97A118 #18A167 #2218A1 #A11853
square
#97A118 #18A167 #2218A1 #A11853
split-complementary
#97A118 #1853A1 #6718A1
monochromatic
#333608 #656C10 #97A118 #C9D620 #DAE54F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A118#FFFFFF#000000##000000
##97A1181.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)
#AD9B27
Tritanopia (blue-blind)
#A29789
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #97a118;
/* rgb */ color: rgb(151, 161, 24);
/* oklch */ color: oklch(67.8% 0.147 114.2);
Tailwind
colors: {
  custom: {
    50: '#b9bc65',
    500: '#97a118',
    950: '#000000',
  },
}
SCSS
$custom: #97a118;
$custom-light: #b9bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#97a118",
  "rgb": {
    "r": 151,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 64.38,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67837,
    "c": 0.14659,
    "h": 114.2
  },
  "luminance": 0.32135
}

Semantic roles & 50–950 ramp

primary
#97A118
secondary
#574EC7
accent
#37F145
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #97A118

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

Preview Lab → · Contrast checker → · Palette generator →

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