#97A82C#97A82C

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

Color values

HEX#97A82C
RGBrgb(151, 168, 44)
HSLhsl(68, 58%, 42%)
HSVhsv(68, 74%, 66%)
CMYKcmyk(10.1%, 0%, 73.8%, 34.1%)
CIE-LABlab(65.57, -22.00, 58.07)
CIE-LCHlch(65.57, 62.10, 110.75°)
OKLaboklab(69.56% -0.0661 0.1286)
OKLCHoklch(69.56% 0.145 117.2)
XYZxyz(27.2204, 34.7667, 7.6591)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A82C #3D2CA8
analogous
#A87B2C #97A82C #59A82C
triadic
#97A82C #2C97A8 #A82C97
tetradic
#97A82C #2CA87B #3D2CA8 #A82C59
square
#97A82C #2CA87B #3D2CA8 #A82C59
split-complementary
#97A82C #2C59A8 #7B2CA8
monochromatic
#404713 #6B781F #97A82C #BBCE43 #CCDB74

Accessibility & contrast

On white

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

On black

7.95
#97A82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A82C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A82C#FFFFFF#000000##000000
##97A82C1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F13
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#A19E90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #97a82c;
/* rgb */ color: rgb(151, 168, 44);
/* oklch */ color: oklch(69.6% 0.145 117.2);
Tailwind
colors: {
  custom: {
    50: '#b9c16e',
    500: '#97a82c',
    950: '#000000',
  },
}
SCSS
$custom: #97a82c;
$custom-light: #b9c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a82c",
  "rgb": {
    "r": 151,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 68.226,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69563,
    "c": 0.14461,
    "h": 117.2
  },
  "luminance": 0.34766
}

Semantic roles & 50–950 ramp

primary
#97A82C
secondary
#796EC2
accent
#46E25B
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A82C

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

Preview Lab → · Contrast checker → · Palette generator →

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