#288428#288428

#288428 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.154 H 143.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#288428
RGBrgb(40, 132, 40)
HSLhsl(120, 53%, 34%)
HSVhsv(120, 70%, 52%)
CMYKcmyk(69.7%, 0%, 69.7%, 48.2%)
CIE-LABlab(48.39, -45.44, 40.33)
CIE-LCHlch(48.39, 60.76, 138.41°)
OKLaboklab(54.01% -0.1234 0.0928)
OKLCHoklch(54.01% 0.154 143.1)
XYZxyz(9.5088, 17.1058, 4.8077)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288428 #842884
analogous
#568428 #288428 #288456
triadic
#288428 #282884 #842828
tetradic
#288428 #285684 #842884 #845628
square
#288428 #285684 #842884 #845628
split-complementary
#288428 #562884 #842856
monochromatic
#0C260C #1A551A #288428 #36B336 #5ACD5A

Accessibility & contrast

On white

4.75
#288428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#288428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288428
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288428#FFFFFF#000000##FFFFFF
##2884281.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771B
Deuteranopia (green-blind)
#7C7031
Tritanopia (blue-blind)
#108071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288428;
/* rgb */ color: rgb(40, 132, 40);
/* oklch */ color: oklch(54.0% 0.154 143.1);
Tailwind
colors: {
  custom: {
    50: '#70a967',
    500: '#288428',
    950: '#000000',
  },
}
SCSS
$custom: #288428;
$custom-light: #70a967;
$custom-dark: #000000;
JSON
{
  "hex": "#288428",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54009,
    "c": 0.15437,
    "h": 143.1
  },
  "luminance": 0.17107
}

Semantic roles & 50–950 ramp

primary
#288428
secondary
#B256B2
accent
#4BDDDD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #288428

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

Preview Lab → · Contrast checker → · Palette generator →

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