#97A62E#97A62E

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

Color values

HEX#97A62E
RGBrgb(151, 166, 46)
HSLhsl(68, 57%, 42%)
HSVhsv(68, 72%, 65%)
CMYKcmyk(9%, 0%, 72.3%, 34.9%)
CIE-LABlab(65.00, -20.90, 56.81)
CIE-LCHlch(65.00, 60.53, 110.20°)
OKLaboklab(69.11% -0.0629 0.1263)
OKLCHoklch(69.11% 0.141 116.5)
XYZxyz(26.8925, 34.0494, 7.7397)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A62E #3D2EA6
analogous
#A6792E #97A62E #5BA62E
triadic
#97A62E #2E97A6 #A62E97
tetradic
#97A62E #2EA679 #3D2EA6 #A62E5B
square
#97A62E #2EA679 #3D2EA6 #A62E5B
split-complementary
#97A62E #2E5BA6 #792EA6
monochromatic
#404613 #6B7621 #97A62E #BBCC46 #CCD976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A62E#FFFFFF#000000##000000
##97A62E1.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)
#B29D18
Deuteranopia (green-blind)
#B09F38
Tritanopia (blue-blind)
#A19C8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a62e;
/* rgb */ color: rgb(151, 166, 46);
/* oklch */ color: oklch(69.1% 0.141 116.5);
Tailwind
colors: {
  custom: {
    50: '#b9c06f',
    500: '#97a62e',
    950: '#000000',
  },
}
SCSS
$custom: #97a62e;
$custom-light: #b9c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#97a62e",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 67.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69113,
    "c": 0.14108,
    "h": 116.5
  },
  "luminance": 0.34049
}

Semantic roles & 50–950 ramp

primary
#97A62E
secondary
#796FC1
accent
#48E05B
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A62E

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

Preview Lab → · Contrast checker → · Palette generator →

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