#288134#288134

#288134 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.141 H 145.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#288134
RGBrgb(40, 129, 52)
HSLhsl(128, 53%, 33%)
HSVhsv(128, 69%, 51%)
CMYKcmyk(69%, 0%, 59.7%, 49.4%)
CIE-LABlab(47.49, -42.91, 33.70)
CIE-LCHlch(47.49, 54.56, 141.86°)
OKLaboklab(53.3% -0.116 0.0799)
OKLCHoklch(53.3% 0.141 145.5)
XYZxyz(9.3445, 16.3986, 5.9209)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288134 #812875
analogous
#488128 #288134 #288160
triadic
#288134 #342881 #813428
tetradic
#288134 #284881 #812875 #816028
square
#288134 #284881 #812875 #816028
split-complementary
#288134 #602881 #812848
monochromatic
#0B240E #1A5221 #288134 #36B047 #58CB68

Accessibility & contrast

On white

4.91
#288134 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#288134 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288134
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288134#FFFFFF#000000##FFFFFF
##2881341.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83752C
Deuteranopia (green-blind)
#786E3A
Tritanopia (blue-blind)
#0C7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288134;
/* rgb */ color: rgb(40, 129, 52);
/* oklch */ color: oklch(53.3% 0.141 145.5);
Tailwind
colors: {
  custom: {
    50: '#6ea66e',
    500: '#288134',
    950: '#000000',
  },
}
SCSS
$custom: #288134;
$custom-light: #6ea66e;
$custom-dark: #000000;
JSON
{
  "hex": "#288134",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 52
  },
  "hsl": {
    "h": 128.09,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.1408,
    "h": 145.5
  },
  "luminance": 0.164
}

Semantic roles & 50–950 ramp

primary
#288134
secondary
#B054A4
accent
#4CC9DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #288134

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

Preview Lab → · Contrast checker → · Palette generator →

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