#97A239#97A239

#97A239 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.129 H 115.0°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#97A239
RGBrgb(151, 162, 57)
HSLhsl(66, 48%, 43%)
HSVhsv(66, 65%, 64%)
CMYKcmyk(6.8%, 0%, 64.8%, 36.5%)
CIE-LABlab(63.93, -18.20, 51.36)
CIE-LCHlch(63.93, 54.49, 109.52°)
OKLaboklab(68.28% -0.0543 0.1166)
OKLCHoklch(68.28% 0.129 115)
XYZxyz(26.4220, 32.7158, 8.7930)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A239 #4439A2
analogous
#A27839 #97A239 #62A239
triadic
#97A239 #3997A2 #A23997
tetradic
#97A239 #39A278 #4439A2 #A23962
square
#97A239 #39A278 #4439A2 #A23962
split-complementary
#97A239 #3962A2 #7839A2
monochromatic
#434719 #6D7529 #97A239 #B8C355 #CBD382

Accessibility & contrast

On white

2.78
#97A239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#97A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A239
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A239#FFFFFF#000000##000000
##97A2391.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2B
Deuteranopia (green-blind)
#AD9C40
Tritanopia (blue-blind)
#A0998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a239;
/* rgb */ color: rgb(151, 162, 57);
/* oklch */ color: oklch(68.3% 0.129 115.0);
Tailwind
colors: {
  custom: {
    50: '#b8bd75',
    500: '#97a239',
    950: '#000000',
  },
}
SCSS
$custom: #97a239;
$custom-light: #b8bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#97a239",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 66.286,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68278,
    "c": 0.12862,
    "h": 115
  },
  "luminance": 0.32715
}

Semantic roles & 50–950 ramp

primary
#97A239
secondary
#817ABD
accent
#50D85E
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97A239

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

Preview Lab → · Contrast checker → · Palette generator →

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