#97B938#97B938

#97B938 is a light, vivid yellow-green. Relative luminance 0.416; OKLCH L 73.6% C 0.157 H 123.2°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#97B938
RGBrgb(151, 185, 56)
HSLhsl(76, 54%, 47%)
HSVhsv(76, 70%, 73%)
CMYKcmyk(18.4%, 0%, 69.7%, 27.5%)
CIE-LABlab(70.57, -29.61, 58.60)
CIE-LCHlch(70.57, 65.66, 116.81°)
OKLaboklab(73.62% -0.086 0.1317)
OKLCHoklch(73.62% 0.157 123.2)
XYZxyz(30.8256, 41.5626, 10.1390)
Luminance0.4156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B938 #5A38B9
analogous
#B99B38 #97B938 #57B938
triadic
#97B938 #3897B9 #B93897
tetradic
#97B938 #38B99B #5A38B9 #B93857
square
#97B938 #38B99B #5A38B9 #B93857
split-complementary
#97B938 #3857B9 #9B38B9
monochromatic
#4A5B1C #718A2A #97B938 #B1CF5F #C8DD8E

Accessibility & contrast

On white

2.26
#97B938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#97B938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B938
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B938#FFFFFF#000000##000000
##97B9381.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE23
Deuteranopia (green-blind)
#BFAC43
Tritanopia (blue-blind)
#9EB09F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #97b938;
/* rgb */ color: rgb(151, 185, 56);
/* oklch */ color: oklch(73.6% 0.157 123.2);
Tailwind
colors: {
  custom: {
    50: '#b9ce76',
    500: '#97b938',
    950: '#000000',
  },
}
SCSS
$custom: #97b938;
$custom-light: #b9ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#97b938",
  "rgb": {
    "r": 151,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 75.814,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73617,
    "c": 0.15731,
    "h": 123.2
  },
  "luminance": 0.41563
}

Semantic roles & 50–950 ramp

primary
#97B938
secondary
#9785C8
accent
#4BDD71
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B938

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

Preview Lab → · Contrast checker → · Palette generator →

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