#97A935#97A935

#97A935 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.9% C 0.140 H 117.8°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#97A935
RGBrgb(151, 169, 53)
HSLhsl(69, 52%, 44%)
HSVhsv(69, 69%, 66%)
CMYKcmyk(10.7%, 0%, 68.6%, 33.7%)
CIE-LABlab(65.91, -22.00, 55.05)
CIE-LCHlch(65.91, 59.29, 111.78°)
OKLaboklab(69.86% -0.0653 0.1238)
OKLCHoklch(69.86% 0.14 117.8)
XYZxyz(27.5936, 35.2126, 8.7105)
Luminance0.3521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A935 #4735A9
analogous
#A98135 #97A935 #5DA935
triadic
#97A935 #3597A9 #A93597
tetradic
#97A935 #35A981 #4735A9 #A9355D
square
#97A935 #35A981 #4735A9 #A9355D
split-complementary
#97A935 #355DA9 #8135A9
monochromatic
#444C18 #6D7A26 #97A935 #B6C952 #CAD781

Accessibility & contrast

On white

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

On black

8.04
#97A935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A935
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A935#FFFFFF#000000##000000
##97A9351.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97a935;
/* rgb */ color: rgb(151, 169, 53);
/* oklch */ color: oklch(69.9% 0.140 117.8);
Tailwind
colors: {
  custom: {
    50: '#b9c273',
    500: '#97a935',
    950: '#000000',
  },
}
SCSS
$custom: #97a935;
$custom-light: #b9c273;
$custom-dark: #000000;
JSON
{
  "hex": "#97a935",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 53
  },
  "hsl": {
    "h": 69.31,
    "s": 52.252,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69861,
    "c": 0.13991,
    "h": 117.8
  },
  "luminance": 0.35212
}

Semantic roles & 50–950 ramp

primary
#97A935
secondary
#8479C1
accent
#4CDC62
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A935

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

Preview Lab → · Contrast checker → · Palette generator →

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