#97A438#97A438

#97A438 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.7% C 0.132 H 115.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#97A438
RGBrgb(151, 164, 56)
HSLhsl(67, 49%, 43%)
HSVhsv(67, 66%, 64%)
CMYKcmyk(7.9%, 0%, 65.9%, 35.7%)
CIE-LABlab(64.50, -19.29, 52.38)
CIE-LCHlch(64.50, 55.82, 110.22°)
OKLaboklab(68.73% -0.0574 0.1186)
OKLCHoklch(68.73% 0.132 115.8)
XYZxyz(26.7524, 33.4161, 8.7813)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A438 #4538A4
analogous
#A47B38 #97A438 #61A438
triadic
#97A438 #3897A4 #A43897
tetradic
#97A438 #38A47B #4538A4 #A43861
square
#97A438 #38A47B #4538A4 #A43861
split-complementary
#97A438 #3861A4 #7B38A4
monochromatic
#434919 #6D7628 #97A438 #B7C554 #CAD482

Accessibility & contrast

On white

2.73
#97A438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#97A438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A438
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A438#FFFFFF#000000##000000
##97A4381.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C29
Deuteranopia (green-blind)
#AE9D40
Tritanopia (blue-blind)
#A09B8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a438;
/* rgb */ color: rgb(151, 164, 56);
/* oklch */ color: oklch(68.7% 0.132 115.8);
Tailwind
colors: {
  custom: {
    50: '#b8be74',
    500: '#97a438',
    950: '#000000',
  },
}
SCSS
$custom: #97a438;
$custom-light: #b8be74;
$custom-dark: #000000;
JSON
{
  "hex": "#97a438",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 67.222,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6873,
    "c": 0.13176,
    "h": 115.8
  },
  "luminance": 0.33416
}

Semantic roles & 50–950 ramp

primary
#97A438
secondary
#827ABE
accent
#4FD960
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A438

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

Preview Lab → · Contrast checker → · Palette generator →

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