#97A02B#97A02B

#97A02B is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.136 H 113.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#97A02B
RGBrgb(151, 160, 43)
HSLhsl(65, 58%, 40%)
HSVhsv(65, 73%, 63%)
CMYKcmyk(5.6%, 0%, 73.1%, 37.3%)
CIE-LABlab(63.26, -18.01, 56.21)
CIE-LCHlch(63.26, 59.02, 107.76°)
OKLaboklab(67.71% -0.0551 0.1245)
OKLCHoklch(67.71% 0.136 113.9)
XYZxyz(25.7701, 31.8959, 7.0840)
Luminance0.3190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A02B #342BA0
analogous
#A06E2B #97A02B #5DA02B
triadic
#97A02B #2B97A0 #A02B97
tetradic
#97A02B #2BA06E #342BA0 #A02B5D
square
#97A02B #2BA06E #342BA0 #A02B5D
split-complementary
#97A02B #2B5DA0 #6E2BA0
monochromatic
#3C4011 #69701E #97A02B #C0CB3D #D0D86E

Accessibility & contrast

On white

2.85
#97A02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#97A02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A02B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A02B#FFFFFF#000000##000000
##97A02B1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9815
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#A19689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a02b;
/* rgb */ color: rgb(151, 160, 43);
/* oklch */ color: oklch(67.7% 0.136 113.9);
Tailwind
colors: {
  custom: {
    50: '#b9bb6d',
    500: '#97a02b',
    950: '#000000',
  },
}
SCSS
$custom: #97a02b;
$custom-light: #b9bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#97a02b",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 64.615,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67707,
    "c": 0.13616,
    "h": 113.9
  },
  "luminance": 0.31895
}

Semantic roles & 50–950 ramp

primary
#97A02B
secondary
#6F68BF
accent
#47E153
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #97A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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