#97A42D#97A42D

#97A42D is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.6% C 0.139 H 115.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#97A42D
RGBrgb(151, 164, 45)
HSLhsl(67, 57%, 41%)
HSVhsv(67, 73%, 64%)
CMYKcmyk(7.9%, 0%, 72.6%, 35.7%)
CIE-LABlab(64.42, -19.94, 56.61)
CIE-LCHlch(64.42, 60.02, 109.41°)
OKLaboklab(68.64% -0.0603 0.1257)
OKLCHoklch(68.64% 0.139 115.6)
XYZxyz(26.5123, 33.3201, 7.5169)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A42D #3A2DA4
analogous
#A4752D #97A42D #5BA42D
triadic
#97A42D #2D97A4 #A42D97
tetradic
#97A42D #2DA475 #3A2DA4 #A42D5B
square
#97A42D #2DA475 #3A2DA4 #A42D5B
split-complementary
#97A42D #2D5BA4 #752DA4
monochromatic
#3F4413 #6B7420 #97A42D #BCCB43 #CDD973

Accessibility & contrast

On white

2.74
#97A42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#97A42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A42D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A42D#FFFFFF#000000##000000
##97A42D1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B17
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#A19A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a42d;
/* rgb */ color: rgb(151, 164, 45);
/* oklch */ color: oklch(68.6% 0.139 115.6);
Tailwind
colors: {
  custom: {
    50: '#b9be6e',
    500: '#97a42d',
    950: '#000000',
  },
}
SCSS
$custom: #97a42d;
$custom-light: #b9be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#97a42d",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 66.555,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68643,
    "c": 0.13942,
    "h": 115.6
  },
  "luminance": 0.3332
}

Semantic roles & 50–950 ramp

primary
#97A42D
secondary
#766DC0
accent
#48E058
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #97A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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