#288034#288034

#288034 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.139 H 145.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#288034
RGBrgb(40, 128, 52)
HSLhsl(128, 52%, 33%)
HSVhsv(128, 69%, 50%)
CMYKcmyk(68.8%, 0%, 59.4%, 49.8%)
CIE-LABlab(47.15, -42.53, 33.30)
CIE-LCHlch(47.15, 54.01, 141.94°)
OKLaboklab(53.02% -0.1149 0.079)
OKLCHoklch(53.02% 0.139 145.5)
XYZxyz(9.2135, 16.1364, 5.8772)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288034 #802874
analogous
#488028 #288034 #288060
triadic
#288034 #342880 #803428
tetradic
#288034 #284880 #802874 #806028
square
#288034 #284880 #802874 #806028
split-complementary
#288034 #602880 #802848
monochromatic
#0B230E #195121 #288034 #37AF47 #58CB67

Accessibility & contrast

On white

4.97
#288034 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#288034 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288034
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288034#FFFFFF#000000##FFFFFF
##2880341.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82742C
Deuteranopia (green-blind)
#776D3A
Tritanopia (blue-blind)
#0D7D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288034;
/* rgb */ color: rgb(40, 128, 52);
/* oklch */ color: oklch(53.0% 0.139 145.5);
Tailwind
colors: {
  custom: {
    50: '#6ea66e',
    500: '#288034',
    950: '#000000',
  },
}
SCSS
$custom: #288034;
$custom-light: #6ea66e;
$custom-dark: #000000;
JSON
{
  "hex": "#288034",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 52
  },
  "hsl": {
    "h": 128.182,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.13945,
    "h": 145.5
  },
  "luminance": 0.16137
}

Semantic roles & 50–950 ramp

primary
#288034
secondary
#B054A3
accent
#4CC8DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #288034

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

Preview Lab → · Contrast checker → · Palette generator →

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