#97A338#97A338

#97A338 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.5% C 0.131 H 115.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#97A338
RGBrgb(151, 163, 56)
HSLhsl(67, 49%, 43%)
HSVhsv(67, 66%, 64%)
CMYKcmyk(7.4%, 0%, 65.6%, 36.1%)
CIE-LABlab(64.21, -18.78, 52.08)
CIE-LCHlch(64.21, 55.36, 109.83°)
OKLaboklab(68.5% -0.056 0.118)
OKLCHoklch(68.5% 0.131 115.4)
XYZxyz(26.5741, 33.0596, 8.7219)
Luminance0.3306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A338 #4438A3
analogous
#A37938 #97A338 #61A338
triadic
#97A338 #3897A3 #A33897
tetradic
#97A338 #38A379 #4438A3 #A33861
square
#97A338 #38A379 #4438A3 #A33861
split-complementary
#97A338 #3861A3 #7938A3
monochromatic
#434819 #6D7528 #97A338 #B8C454 #CBD482

Accessibility & contrast

On white

2.76
#97A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#97A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A338
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A338#FFFFFF#000000##000000
##97A3381.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2A
Deuteranopia (green-blind)
#AD9D3F
Tritanopia (blue-blind)
#A09A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a338;
/* rgb */ color: rgb(151, 163, 56);
/* oklch */ color: oklch(68.5% 0.131 115.4);
Tailwind
colors: {
  custom: {
    50: '#b8be74',
    500: '#97a338',
    950: '#000000',
  },
}
SCSS
$custom: #97a338;
$custom-light: #b8be74;
$custom-dark: #000000;
JSON
{
  "hex": "#97a338",
  "rgb": {
    "r": 151,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 66.729,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.685,
    "c": 0.13058,
    "h": 115.4
  },
  "luminance": 0.33059
}

Semantic roles & 50–950 ramp

primary
#97A338
secondary
#8179BD
accent
#4FD85F
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A338

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

Preview Lab → · Contrast checker → · Palette generator →

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