#97B127#97B127

#97B127 is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.6% C 0.158 H 120.2°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#97B127
RGBrgb(151, 177, 39)
HSLhsl(71, 64%, 42%)
HSVhsv(71, 78%, 69%)
CMYKcmyk(14.7%, 0%, 78%, 30.6%)
CIE-LABlab(68.15, -26.67, 62.13)
CIE-LCHlch(68.15, 67.61, 113.23°)
OKLaboklab(71.63% -0.0794 0.1363)
OKLCHoklch(71.63% 0.158 120.2)
XYZxyz(28.8514, 38.1702, 7.7667)
Luminance0.3817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B127 #4127B1
analogous
#B18627 #97B127 #52B127
triadic
#97B127 #2797B1 #B12797
tetradic
#97B127 #27B186 #4127B1 #B12752
square
#97B127 #27B186 #4127B1 #B12752
split-complementary
#97B127 #2752B1 #8627B1
monochromatic
#414D11 #6C7F1C #97B127 #B9D540 #CBE072

Accessibility & contrast

On white

2.43
#97B127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#97B127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B127
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B127#FFFFFF#000000##000000
##97B1271.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#A0A797
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97b127;
/* rgb */ color: rgb(151, 177, 39);
/* oklch */ color: oklch(71.6% 0.158 120.2);
Tailwind
colors: {
  custom: {
    50: '#b9c86d',
    500: '#97b127',
    950: '#000000',
  },
}
SCSS
$custom: #97b127;
$custom-light: #b9c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#97b127",
  "rgb": {
    "r": 151,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 71.304,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71631,
    "c": 0.15775,
    "h": 120.2
  },
  "luminance": 0.3817
}

Semantic roles & 50–950 ramp

primary
#97B127
secondary
#7E6DC7
accent
#41E760
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #97B127

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

Preview Lab → · Contrast checker → · Palette generator →

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