#288535#288535

#288535 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.145 H 145.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#288535
RGBrgb(40, 133, 53)
HSLhsl(128, 54%, 34%)
HSVhsv(128, 70%, 52%)
CMYKcmyk(69.9%, 0%, 60.2%, 47.8%)
CIE-LABlab(48.86, -44.29, 34.80)
CIE-LCHlch(48.86, 56.33, 141.84°)
OKLaboklab(54.44% -0.1197 0.0823)
OKLCHoklch(54.44% 0.145 145.5)
XYZxyz(9.9045, 17.4822, 6.2199)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288535 #852878
analogous
#4A8528 #288535 #288564
triadic
#288535 #352885 #853528
tetradic
#288535 #284A85 #852878 #856428
square
#288535 #284A85 #852878 #856428
split-complementary
#288535 #642885 #85284A
monochromatic
#0C2710 #1A5622 #288535 #36B448 #5ACD6A

Accessibility & contrast

On white

4.67
#288535 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#288535 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #288535
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288535#FFFFFF#000000##FFFFFF
##2885351.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792D
Deuteranopia (green-blind)
#7C713B
Tritanopia (blue-blind)
#078274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #288535;
/* rgb */ color: rgb(40, 133, 53);
/* oklch */ color: oklch(54.4% 0.145 145.5);
Tailwind
colors: {
  custom: {
    50: '#6fa96f',
    500: '#288535',
    950: '#000000',
  },
}
SCSS
$custom: #288535;
$custom-light: #6fa96f;
$custom-dark: #000000;
JSON
{
  "hex": "#288535",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 53
  },
  "hsl": {
    "h": 128.387,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54439,
    "c": 0.14525,
    "h": 145.5
  },
  "luminance": 0.17483
}

Semantic roles & 50–950 ramp

primary
#288535
secondary
#B356A6
accent
#4BC9DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288535

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

Preview Lab → · Contrast checker → · Palette generator →

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