#97A62D#97A62D

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

Color values

HEX#97A62D
RGBrgb(151, 166, 45)
HSLhsl(67, 57%, 41%)
HSVhsv(67, 73%, 65%)
CMYKcmyk(9%, 0%, 72.9%, 34.9%)
CIE-LABlab(65.00, -20.95, 57.17)
CIE-LCHlch(65.00, 60.89, 110.13°)
OKLaboklab(69.11% -0.0631 0.1269)
OKLCHoklch(69.11% 0.142 116.4)
XYZxyz(26.8730, 34.0416, 7.6371)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A62D #3C2DA6
analogous
#A6792D #97A62D #5BA62D
triadic
#97A62D #2D97A6 #A62D97
tetradic
#97A62D #2DA679 #3C2DA6 #A62D5B
square
#97A62D #2DA679 #3C2DA6 #A62D5B
split-complementary
#97A62D #2D5BA6 #792DA6
monochromatic
#3F4613 #6B7620 #97A62D #BBCC44 #CDD974

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A62D#FFFFFF#000000##000000
##97A62D1.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)
#B29D16
Deuteranopia (green-blind)
#B09F37
Tritanopia (blue-blind)
#A19C8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a62d;
/* rgb */ color: rgb(151, 166, 45);
/* oklch */ color: oklch(69.1% 0.142 116.4);
Tailwind
colors: {
  custom: {
    50: '#b9c06f',
    500: '#97a62d',
    950: '#000000',
  },
}
SCSS
$custom: #97a62d;
$custom-light: #b9c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#97a62d",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 67.438,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69106,
    "c": 0.1417,
    "h": 116.4
  },
  "luminance": 0.34041
}

Semantic roles & 50–950 ramp

primary
#97A62D
secondary
#786EC1
accent
#47E15A
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A62D

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

Preview Lab → · Contrast checker → · Palette generator →

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