#97A62F#97A62F

#97A62F is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.1% C 0.140 H 116.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#97A62F
RGBrgb(151, 166, 47)
HSLhsl(68, 56%, 42%)
HSVhsv(68, 72%, 65%)
CMYKcmyk(9%, 0%, 71.7%, 34.9%)
CIE-LABlab(65.01, -20.84, 56.45)
CIE-LCHlch(65.01, 60.17, 110.27°)
OKLaboklab(69.12% -0.0626 0.1257)
OKLCHoklch(69.12% 0.14 116.5)
XYZxyz(26.9125, 34.0573, 7.8448)
Luminance0.3406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A62F #3E2FA6
analogous
#A67A2F #97A62F #5CA62F
triadic
#97A62F #2F97A6 #A62F97
tetradic
#97A62F #2FA67A #3E2FA6 #A62F5C
square
#97A62F #2FA67A #3E2FA6 #A62F5C
split-complementary
#97A62F #2F5CA6 #7A2FA6
monochromatic
#404714 #6C7621 #97A62F #BACB47 #CCD877

Accessibility & contrast

On white

2.69
#97A62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#97A62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A62F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A62F#FFFFFF#000000##000000
##97A62F1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1A
Deuteranopia (green-blind)
#B09F39
Tritanopia (blue-blind)
#A19D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a62f;
/* rgb */ color: rgb(151, 166, 47);
/* oklch */ color: oklch(69.1% 0.140 116.5);
Tailwind
colors: {
  custom: {
    50: '#b9c070',
    500: '#97a62f',
    950: '#000000',
  },
}
SCSS
$custom: #97a62f;
$custom-light: #b9c070;
$custom-dark: #000000;
JSON
{
  "hex": "#97a62f",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 67.563,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6912,
    "c": 0.14044,
    "h": 116.5
  },
  "luminance": 0.34057
}

Semantic roles & 50–950 ramp

primary
#97A62F
secondary
#7A70C1
accent
#49DF5C
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A62F

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

Preview Lab → · Contrast checker → · Palette generator →

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