#288734#288734

#288734 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.149 H 145.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#288734
RGBrgb(40, 135, 52)
HSLhsl(128, 54%, 34%)
HSVhsv(128, 70%, 53%)
CMYKcmyk(70.4%, 0%, 61.5%, 47.1%)
CIE-LABlab(49.53, -45.17, 36.07)
CIE-LCHlch(49.53, 57.80, 141.39°)
OKLaboklab(54.99% -0.1221 0.085)
OKLCHoklch(54.99% 0.149 145.2)
XYZxyz(10.1582, 18.0259, 6.1921)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288734 #87287B
analogous
#4C8728 #288734 #288764
triadic
#288734 #342887 #873428
tetradic
#288734 #284C87 #87287B #876428
square
#288734 #284C87 #87287B #876428
split-complementary
#288734 #642887 #87284C
monochromatic
#0C2910 #1A5822 #288734 #36B646 #5BCE6A

Accessibility & contrast

On white

4.56
#288734 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#288734 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288734
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288734#FFFFFF#000000##000000
##2887341.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A2B
Deuteranopia (green-blind)
#7E733B
Tritanopia (blue-blind)
#068475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #288734;
/* rgb */ color: rgb(40, 135, 52);
/* oklch */ color: oklch(55.0% 0.149 145.2);
Tailwind
colors: {
  custom: {
    50: '#70ab6e',
    500: '#288734',
    950: '#000000',
  },
}
SCSS
$custom: #288734;
$custom-light: #70ab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#288734",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 52
  },
  "hsl": {
    "h": 127.579,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54986,
    "c": 0.14873,
    "h": 145.2
  },
  "luminance": 0.18027
}

Semantic roles & 50–950 ramp

primary
#288734
secondary
#B457A8
accent
#4ACBDE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288734

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

Preview Lab → · Contrast checker → · Palette generator →

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