#97A92B#97A92B

#97A92B is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.8% C 0.146 H 117.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#97A92B
RGBrgb(151, 169, 43)
HSLhsl(69, 59%, 42%)
HSVhsv(69, 75%, 66%)
CMYKcmyk(10.7%, 0%, 74.6%, 33.7%)
CIE-LABlab(65.85, -22.55, 58.69)
CIE-LCHlch(65.85, 62.87, 111.02°)
OKLaboklab(69.79% -0.0677 0.1298)
OKLCHoklch(69.79% 0.146 117.6)
XYZxyz(27.3872, 35.1300, 7.6230)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A92B #3D2BA9
analogous
#A97C2B #97A92B #58A92B
triadic
#97A92B #2B97A9 #A92B97
tetradic
#97A92B #2BA97C #3D2BA9 #A92B58
square
#97A92B #2BA97C #3D2BA9 #A92B58
split-complementary
#97A92B #2B58A9 #7C2BA9
monochromatic
#404712 #6B781F #97A92B #BBCF42 #CCDB73

Accessibility & contrast

On white

2.62
#97A92B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#97A92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A92B
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A92B#FFFFFF#000000##000000
##97A92B1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A010
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#A09F91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #97a92b;
/* rgb */ color: rgb(151, 169, 43);
/* oklch */ color: oklch(69.8% 0.146 117.6);
Tailwind
colors: {
  custom: {
    50: '#b9c26e',
    500: '#97a92b',
    950: '#000000',
  },
}
SCSS
$custom: #97a92b;
$custom-light: #b9c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a92b",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 68.571,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69789,
    "c": 0.14635,
    "h": 117.6
  },
  "luminance": 0.3513
}

Semantic roles & 50–950 ramp

primary
#97A92B
secondary
#796DC3
accent
#45E35C
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A92B

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

Preview Lab → · Contrast checker → · Palette generator →

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