#288945#288945

#288945 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.136 H 149.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#288945
RGBrgb(40, 137, 69)
HSLhsl(138, 55%, 35%)
HSVhsv(138, 71%, 54%)
CMYKcmyk(70.8%, 0%, 49.6%, 46.3%)
CIE-LABlab(50.42, -43.41, 28.44)
CIE-LCHlch(50.42, 51.90, 146.76°)
OKLaboklab(55.79% -0.1169 0.0693)
OKLCHoklch(55.79% 0.136 149.4)
XYZxyz(10.8941, 18.7709, 8.6781)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288945 #89286C
analogous
#3C8928 #288945 #288976
triadic
#288945 #452889 #894528
tetradic
#288945 #283C89 #89286C #897628
square
#288945 #283C89 #89286C #897628
split-complementary
#288945 #762889 #89283C
monochromatic
#0C2A15 #1A5A2D #288945 #36B85D #5CCF7E

Accessibility & contrast

On white

4.42
#288945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#288945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288945
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288945#FFFFFF#000000##000000
##2889451.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D40
Deuteranopia (green-blind)
#7E754A
Tritanopia (blue-blind)
#008679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #288945;
/* rgb */ color: rgb(40, 137, 69);
/* oklch */ color: oklch(55.8% 0.136 149.4);
Tailwind
colors: {
  custom: {
    50: '#6fac7a',
    500: '#288945',
    950: '#000000',
  },
}
SCSS
$custom: #288945;
$custom-light: #6fac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#288945",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 137.938,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55792,
    "c": 0.1359,
    "h": 149.4
  },
  "luminance": 0.18772
}

Semantic roles & 50–950 ramp

primary
#288945
secondary
#B55899
accent
#4AB2DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #288945

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

Preview Lab → · Contrast checker → · Palette generator →

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