#289040#289040

#289040 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.7% C 0.150 H 147.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#289040
RGBrgb(40, 144, 64)
HSLhsl(134, 57%, 36%)
HSVhsv(134, 72%, 56%)
CMYKcmyk(72.2%, 0%, 55.6%, 43.5%)
CIE-LABlab(52.69, -46.85, 33.85)
CIE-LCHlch(52.69, 57.80, 144.15°)
OKLaboklab(57.65% -0.1262 0.0811)
OKLCHoklch(57.65% 0.15 147.3)
XYZxyz(11.7729, 20.7665, 8.2374)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289040 #902878
analogous
#449028 #289040 #289074
triadic
#289040 #402890 #904028
tetradic
#289040 #284490 #902878 #907428
square
#289040 #284490 #902878 #907428
split-complementary
#289040 #742890 #902844
monochromatic
#0D3015 #1B602B #289040 #35C055 #60D37A

Accessibility & contrast

On white

4.07
#289040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#289040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289040
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289040#FFFFFF#000000##000000
##2890401.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928339
Deuteranopia (green-blind)
#857A46
Tritanopia (blue-blind)
#008D7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #289040;
/* rgb */ color: rgb(40, 144, 64);
/* oklch */ color: oklch(57.7% 0.150 147.3);
Tailwind
colors: {
  custom: {
    50: '#71b177',
    500: '#289040',
    950: '#000000',
  },
}
SCSS
$custom: #289040;
$custom-light: #71b177;
$custom-dark: #000000;
JSON
{
  "hex": "#289040",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 64
  },
  "hsl": {
    "h": 133.846,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57651,
    "c": 0.15003,
    "h": 147.3
  },
  "luminance": 0.20768
}

Semantic roles & 50–950 ramp

primary
#289040
secondary
#B85CA3
accent
#48BDE0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #289040

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

Preview Lab → · Contrast checker → · Palette generator →

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