#289042#289042

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

Color values

HEX#289042
RGBrgb(40, 144, 66)
HSLhsl(135, 57%, 36%)
HSVhsv(135, 72%, 56%)
CMYKcmyk(72.2%, 0%, 54.2%, 43.5%)
CIE-LABlab(52.72, -46.55, 32.86)
CIE-LCHlch(52.72, 56.98, 144.78°)
OKLaboklab(57.68% -0.1254 0.079)
OKLCHoklch(57.68% 0.148 147.8)
XYZxyz(11.8308, 20.7897, 8.5425)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289042 #902876
analogous
#429028 #289042 #289076
triadic
#289042 #422890 #904228
tetradic
#289042 #284290 #902876 #907628
square
#289042 #284290 #902876 #907628
split-complementary
#289042 #762890 #902842
monochromatic
#0D3016 #1B602C #289042 #35C058 #60D37C

Accessibility & contrast

On white

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

On black

5.16
#289042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289042
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289042#FFFFFF#000000##000000
##2890421.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833B
Deuteranopia (green-blind)
#857A48
Tritanopia (blue-blind)
#008D7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #289042;
/* rgb */ color: rgb(40, 144, 66);
/* oklch */ color: oklch(57.7% 0.148 147.8);
Tailwind
colors: {
  custom: {
    50: '#71b178',
    500: '#289042',
    950: '#000000',
  },
}
SCSS
$custom: #289042;
$custom-light: #71b178;
$custom-dark: #000000;
JSON
{
  "hex": "#289042",
  "rgb": {
    "r": 40,
    "g": 144,
    "b": 66
  },
  "hsl": {
    "h": 135,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.1482,
    "h": 147.8
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #289042

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

Preview Lab → · Contrast checker → · Palette generator →

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