#97A62C#97A62C

#97A62C 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#97A62C
RGBrgb(151, 166, 44)
HSLhsl(67, 58%, 41%)
HSVhsv(67, 73%, 65%)
CMYKcmyk(9%, 0%, 73.5%, 34.9%)
CIE-LABlab(64.99, -21.00, 57.52)
CIE-LCHlch(64.99, 61.23, 110.06°)
OKLaboklab(69.1% -0.0633 0.1275)
OKLCHoklch(69.1% 0.142 116.4)
XYZxyz(26.8540, 34.0340, 7.5369)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A62C #3B2CA6
analogous
#A6782C #97A62C #5AA62C
triadic
#97A62C #2C97A6 #A62C97
tetradic
#97A62C #2CA678 #3B2CA6 #A62C5A
square
#97A62C #2CA678 #3B2CA6 #A62C5A
split-complementary
#97A62C #2C5AA6 #782CA6
monochromatic
#3F4512 #6B761F #97A62C #BCCD42 #CDDA73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A62C#FFFFFF#000000##000000
##97A62C1.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)
#B29D14
Deuteranopia (green-blind)
#B09F36
Tritanopia (blue-blind)
#A19C8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a62c;
/* rgb */ color: rgb(151, 166, 44);
/* oklch */ color: oklch(69.1% 0.142 116.4);
Tailwind
colors: {
  custom: {
    50: '#b9c06e',
    500: '#97a62c',
    950: '#000000',
  },
}
SCSS
$custom: #97a62c;
$custom-light: #b9c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a62c",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 67.377,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69099,
    "c": 0.14232,
    "h": 116.4
  },
  "luminance": 0.34034
}

Semantic roles & 50–950 ramp

primary
#97A62C
secondary
#776DC1
accent
#46E15A
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A62C

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

Preview Lab → · Contrast checker → · Palette generator →

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