#289242#289242

#289242 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.2% C 0.151 H 147.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#289242
RGBrgb(40, 146, 66)
HSLhsl(135, 57%, 36%)
HSVhsv(135, 73%, 57%)
CMYKcmyk(72.6%, 0%, 54.8%, 42.7%)
CIE-LABlab(53.39, -47.30, 33.67)
CIE-LCHlch(53.39, 58.06, 144.55°)
OKLaboklab(58.23% -0.1274 0.0808)
OKLCHoklch(58.23% 0.151 147.6)
XYZxyz(12.1364, 21.4009, 8.6444)
Luminance0.2140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289242 #922878
analogous
#439228 #289242 #289277
triadic
#289242 #422892 #924228
tetradic
#289242 #284392 #922878 #927728
square
#289242 #284392 #922878 #927728
split-complementary
#289242 #772892 #922843
monochromatic
#0E3217 #1B622C #289242 #35C258 #61D47D

Accessibility & contrast

On white

3.98
#289242 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#289242 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289242
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289242#FFFFFF#000000##000000
##2892421.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94853B
Deuteranopia (green-blind)
#877C48
Tritanopia (blue-blind)
#008F80
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #289242;
/* rgb */ color: rgb(40, 146, 66);
/* oklch */ color: oklch(58.2% 0.151 147.6);
Tailwind
colors: {
  custom: {
    50: '#72b378',
    500: '#289242',
    950: '#000000',
  },
}
SCSS
$custom: #289242;
$custom-light: #72b378;
$custom-dark: #000000;
JSON
{
  "hex": "#289242",
  "rgb": {
    "r": 40,
    "g": 146,
    "b": 66
  },
  "hsl": {
    "h": 134.717,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58232,
    "c": 0.15086,
    "h": 147.6
  },
  "luminance": 0.21402
}

Semantic roles & 50–950 ramp

primary
#289242
secondary
#B95DA2
accent
#48BBE0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #289242

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

Preview Lab → · Contrast checker → · Palette generator →

#289242 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva