#97A833#97A833

#97A833 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.6% C 0.140 H 117.4°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#97A833
RGBrgb(151, 168, 51)
HSLhsl(69, 53%, 43%)
HSVhsv(69, 70%, 66%)
CMYKcmyk(10.1%, 0%, 69.6%, 34.1%)
CIE-LABlab(65.61, -21.62, 55.53)
CIE-LCHlch(65.61, 59.59, 111.27°)
OKLaboklab(69.61% -0.0644 0.1244)
OKLCHoklch(69.61% 0.14 117.4)
XYZxyz(27.3633, 34.8239, 8.4115)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A833 #4433A8
analogous
#A87E33 #97A833 #5CA833
triadic
#97A833 #3397A8 #A83397
tetradic
#97A833 #33A87E #4433A8 #A8335C
square
#97A833 #33A87E #4433A8 #A8335C
split-complementary
#97A833 #335CA8 #7E33A8
monochromatic
#434A16 #6D7925 #97A833 #B8C94F #CBD87E

Accessibility & contrast

On white

2.64
#97A833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#97A833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A833
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A833#FFFFFF#000000##000000
##97A8331.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F20
Deuteranopia (green-blind)
#B2A03C
Tritanopia (blue-blind)
#A09F91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a833;
/* rgb */ color: rgb(151, 168, 51);
/* oklch */ color: oklch(69.6% 0.140 117.4);
Tailwind
colors: {
  custom: {
    50: '#b9c172',
    500: '#97a833',
    950: '#000000',
  },
}
SCSS
$custom: #97a833;
$custom-light: #b9c172;
$custom-dark: #000000;
JSON
{
  "hex": "#97a833",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 68.718,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.14011,
    "h": 117.4
  },
  "luminance": 0.34824
}

Semantic roles & 50–950 ramp

primary
#97A833
secondary
#8176C1
accent
#4BDD60
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A833

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

Preview Lab → · Contrast checker → · Palette generator →

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