#289840#289840

#289840 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.9% C 0.160 H 146.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#289840
RGBrgb(40, 152, 64)
HSLhsl(133, 58%, 38%)
HSVhsv(133, 74%, 60%)
CMYKcmyk(73.7%, 0%, 57.9%, 40.4%)
CIE-LABlab(55.36, -49.77, 37.03)
CIE-LCHlch(55.36, 62.03, 143.35°)
OKLaboklab(59.85% -0.1341 0.0881)
OKLCHoklch(59.85% 0.16 146.7)
XYZxyz(13.0278, 23.2763, 8.6557)
Luminance0.2328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289840 #982880
analogous
#489828 #289840 #289878
triadic
#289840 #402898 #984028
tetradic
#289840 #284898 #982880 #987828
square
#289840 #284898 #982880 #987828
split-complementary
#289840 #782898 #982848
monochromatic
#0F3717 #1B682C #289840 #35C854 #64D67D

Accessibility & contrast

On white

3.71
#289840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#289840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289840
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289840#FFFFFF#000000##000000
##2898401.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A37
Deuteranopia (green-blind)
#8D8147
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #289840;
/* rgb */ color: rgb(40, 152, 64);
/* oklch */ color: oklch(59.9% 0.160 146.7);
Tailwind
colors: {
  custom: {
    50: '#73b777',
    500: '#289840',
    950: '#000000',
  },
}
SCSS
$custom: #289840;
$custom-light: #73b777;
$custom-dark: #000000;
JSON
{
  "hex": "#289840",
  "rgb": {
    "r": 40,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 132.857,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59854,
    "c": 0.16043,
    "h": 146.7
  },
  "luminance": 0.23278
}

Semantic roles & 50–950 ramp

primary
#289840
secondary
#BC60A8
accent
#46C0E2
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #289840

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

Preview Lab → · Contrast checker → · Palette generator →

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