#97A93B#97A93B

#97A93B is a light, vivid yellow. Relative luminance 0.353; OKLCH L 69.9% C 0.135 H 118.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#97A93B
RGBrgb(151, 169, 59)
HSLhsl(70, 48%, 45%)
HSVhsv(70, 65%, 66%)
CMYKcmyk(10.7%, 0%, 65.1%, 33.7%)
CIE-LABlab(65.96, -21.61, 52.66)
CIE-LCHlch(65.96, 56.92, 112.32°)
OKLaboklab(69.91% -0.0636 0.1196)
OKLCHoklch(69.91% 0.135 118)
XYZxyz(27.7404, 35.2713, 9.4835)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A93B #4D3BA9
analogous
#A9843B #97A93B #60A93B
triadic
#97A93B #3B97A9 #A93B97
tetradic
#97A93B #3BA984 #4D3BA9 #A93B60
square
#97A93B #3BA984 #4D3BA9 #A93B60
split-complementary
#97A93B #3B60A9 #843BA9
monochromatic
#464E1B #6E7C2B #97A93B #B4C65B #C9D689

Accessibility & contrast

On white

2.61
#97A93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#97A93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A93B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A93B#FFFFFF#000000##000000
##97A93B1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02D
Deuteranopia (green-blind)
#B2A143
Tritanopia (blue-blind)
#A0A092
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #97a93b;
/* rgb */ color: rgb(151, 169, 59);
/* oklch */ color: oklch(69.9% 0.135 118.0);
Tailwind
colors: {
  custom: {
    50: '#b8c277',
    500: '#97a93b',
    950: '#000000',
  },
}
SCSS
$custom: #97a93b;
$custom-light: #b8c277;
$custom-dark: #000000;
JSON
{
  "hex": "#97a93b",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 59
  },
  "hsl": {
    "h": 69.818,
    "s": 48.246,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69912,
    "c": 0.13548,
    "h": 118
  },
  "luminance": 0.35271
}

Semantic roles & 50–950 ramp

primary
#97A93B
secondary
#8A80C0
accent
#50D866
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A93B

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

Preview Lab → · Contrast checker → · Palette generator →

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