#89B231#89B231

#89B231 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.9% C 0.160 H 125.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#89B231
RGBrgb(137, 178, 49)
HSLhsl(79, 57%, 45%)
HSVhsv(79, 72%, 70%)
CMYKcmyk(23%, 0%, 72.5%, 30.2%)
CIE-LABlab(67.56, -32.34, 57.90)
CIE-LCHlch(67.56, 66.32, 119.19°)
OKLaboklab(70.94% -0.0933 0.1295)
OKLCHoklch(70.94% 0.16 125.8)
XYZxyz(26.7915, 37.3805, 8.7088)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#89B231 #5A31B2
analogous
#B29B31 #89B231 #48B231
triadic
#89B231 #3189B2 #B23189
tetradic
#89B231 #31B29B #5A31B2 #B23148
square
#89B231 #31B29B #5A31B2 #B23148
split-complementary
#89B231 #3148B2 #9B31B2
monochromatic
#3F5217 #648224 #89B231 #A7CF51 #BFDC81

Accessibility & contrast

On white

2.48
#89B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#89B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #89B231
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##89B231#FFFFFF#000000##000000
##89B2311.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA619
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#8FA999
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #89b231;
/* rgb */ color: rgb(137, 178, 49);
/* oklch */ color: oklch(70.9% 0.160 125.8);
Tailwind
colors: {
  custom: {
    50: '#afc972',
    500: '#89b231',
    950: '#000000',
  },
}
SCSS
$custom: #89b231;
$custom-light: #afc972;
$custom-dark: #000000;
JSON
{
  "hex": "#89b231",
  "rgb": {
    "r": 137,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 79.07,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70937,
    "c": 0.15957,
    "h": 125.8
  },
  "luminance": 0.37381
}

Semantic roles & 50–950 ramp

primary
#89B231
secondary
#9279C5
accent
#48E078
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #89B231

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

Preview Lab → · Contrast checker → · Palette generator →

#89B231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva