#288528#288528

#288528 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.156 H 143.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#288528
RGBrgb(40, 133, 40)
HSLhsl(120, 54%, 34%)
HSVhsv(120, 70%, 52%)
CMYKcmyk(69.9%, 0%, 69.9%, 47.8%)
CIE-LABlab(48.73, -45.81, 40.70)
CIE-LCHlch(48.73, 61.27, 138.38°)
OKLaboklab(54.29% -0.1244 0.0935)
OKLCHoklch(54.29% 0.156 143.1)
XYZxyz(9.6450, 17.3784, 4.8531)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288528 #852885
analogous
#578528 #288528 #288557
triadic
#288528 #282885 #852828
tetradic
#288528 #285785 #852885 #855728
square
#288528 #285785 #852885 #855728
split-complementary
#288528 #572885 #852857
monochromatic
#0C270C #1A561A #288528 #36B436 #5ACD5A

Accessibility & contrast

On white

4.69
#288528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#288528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288528
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288528#FFFFFF#000000##FFFFFF
##2885281.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88781B
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#0F8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #288528;
/* rgb */ color: rgb(40, 133, 40);
/* oklch */ color: oklch(54.3% 0.156 143.1);
Tailwind
colors: {
  custom: {
    50: '#70a967',
    500: '#288528',
    950: '#000000',
  },
}
SCSS
$custom: #288528;
$custom-light: #70a967;
$custom-dark: #000000;
JSON
{
  "hex": "#288528",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54291,
    "c": 0.15562,
    "h": 143.1
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #288528

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

Preview Lab → · Contrast checker → · Palette generator →

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