#97B12F#97B12F

#97B12F is a light, vivid yellow-green. Relative luminance 0.382; OKLCH L 71.7% C 0.153 H 120.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#97B12F
RGBrgb(151, 177, 47)
HSLhsl(72, 58%, 44%)
HSVhsv(72, 73%, 69%)
CMYKcmyk(14.7%, 0%, 73.4%, 30.6%)
CIE-LABlab(68.19, -26.28, 59.54)
CIE-LCHlch(68.19, 65.09, 113.82°)
OKLaboklab(71.68% -0.0777 0.1322)
OKLCHoklch(71.68% 0.153 120.4)
XYZxyz(28.9982, 38.2289, 8.5400)
Luminance0.3823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B12F #492FB1
analogous
#B18A2F #97B12F #56B12F
triadic
#97B12F #2F97B1 #B12F97
tetradic
#97B12F #2FB18A #492FB1 #B12F56
square
#97B12F #2FB18A #492FB1 #B12F56
split-complementary
#97B12F #2F56B1 #8A2FB1
monochromatic
#445015 #6E8122 #97B12F #B6D04D #CADD7E

Accessibility & contrast

On white

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

On black

8.65
#97B12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B12F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B12F#FFFFFF#000000##000000
##97B12F1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA715
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#A0A898
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97b12f;
/* rgb */ color: rgb(151, 177, 47);
/* oklch */ color: oklch(71.7% 0.153 120.4);
Tailwind
colors: {
  custom: {
    50: '#b9c871',
    500: '#97b12f',
    950: '#000000',
  },
}
SCSS
$custom: #97b12f;
$custom-light: #b9c871;
$custom-dark: #000000;
JSON
{
  "hex": "#97b12f",
  "rgb": {
    "r": 151,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 72,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71679,
    "c": 0.15334,
    "h": 120.4
  },
  "luminance": 0.38229
}

Semantic roles & 50–950 ramp

primary
#97B12F
secondary
#8676C5
accent
#47E165
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B12F

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

Preview Lab → · Contrast checker → · Palette generator →

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