#97A238#97A238

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

Color values

HEX#97A238
RGBrgb(151, 162, 56)
HSLhsl(66, 49%, 43%)
HSVhsv(66, 65%, 64%)
CMYKcmyk(6.8%, 0%, 65.4%, 36.5%)
CIE-LABlab(63.92, -18.27, 51.78)
CIE-LCHlch(63.92, 54.91, 109.44°)
OKLaboklab(68.27% -0.0545 0.1173)
OKLCHoklch(68.27% 0.129 114.9)
XYZxyz(26.3973, 32.7059, 8.6629)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A238 #4338A2
analogous
#A27838 #97A238 #62A238
triadic
#97A238 #3897A2 #A23897
tetradic
#97A238 #38A278 #4338A2 #A23862
square
#97A238 #38A278 #4338A2 #A23862
split-complementary
#97A238 #3862A2 #7838A2
monochromatic
#424719 #6D7528 #97A238 #B8C453 #CBD381

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A238#FFFFFF#000000##000000
##97A2381.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)
#AD9A2A
Deuteranopia (green-blind)
#AD9C3F
Tritanopia (blue-blind)
#A0998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #97a238;
/* rgb */ color: rgb(151, 162, 56);
/* oklch */ color: oklch(68.3% 0.129 114.9);
Tailwind
colors: {
  custom: {
    50: '#b8bd74',
    500: '#97a238',
    950: '#000000',
  },
}
SCSS
$custom: #97a238;
$custom-light: #b8bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#97a238",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 66.226,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68269,
    "c": 0.12939,
    "h": 114.9
  },
  "luminance": 0.32705
}

Semantic roles & 50–950 ramp

primary
#97A238
secondary
#8079BD
accent
#50D85E
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #97A238

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

Preview Lab → · Contrast checker → · Palette generator →

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