#289142#289142

#289142 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.0% C 0.150 H 147.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#289142
RGBrgb(40, 145, 66)
HSLhsl(135, 57%, 36%)
HSVhsv(135, 72%, 57%)
CMYKcmyk(72.4%, 0%, 54.5%, 43.1%)
CIE-LABlab(53.05, -46.92, 33.27)
CIE-LCHlch(53.05, 57.52, 144.67°)
OKLaboklab(57.96% -0.1264 0.0799)
OKLCHoklch(57.96% 0.15 147.7)
XYZxyz(11.9829, 21.0939, 8.5932)
Luminance0.2109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289142 #912877
analogous
#439128 #289142 #289177
triadic
#289142 #422891 #914228
tetradic
#289142 #284391 #912877 #917728
square
#289142 #284391 #912877 #917728
split-complementary
#289142 #772891 #912843
monochromatic
#0E3116 #1B612C #289142 #35C158 #60D37D

Accessibility & contrast

On white

4.02
#289142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#289142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289142
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289142#FFFFFF#000000##000000
##2891421.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93843B
Deuteranopia (green-blind)
#867B48
Tritanopia (blue-blind)
#008E7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #289142;
/* rgb */ color: rgb(40, 145, 66);
/* oklch */ color: oklch(58.0% 0.150 147.7);
Tailwind
colors: {
  custom: {
    50: '#71b278',
    500: '#289142',
    950: '#000000',
  },
}
SCSS
$custom: #289142;
$custom-light: #71b278;
$custom-dark: #000000;
JSON
{
  "hex": "#289142",
  "rgb": {
    "r": 40,
    "g": 145,
    "b": 66
  },
  "hsl": {
    "h": 134.857,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57956,
    "c": 0.14954,
    "h": 147.7
  },
  "luminance": 0.21095
}

Semantic roles & 50–950 ramp

primary
#289142
secondary
#B95CA2
accent
#48BAE0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #289142

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

Preview Lab → · Contrast checker → · Palette generator →

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