#288538#288538

#288538 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.143 H 146.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#288538
RGBrgb(40, 133, 56)
HSLhsl(130, 54%, 34%)
HSVhsv(130, 70%, 52%)
CMYKcmyk(69.9%, 0%, 57.9%, 47.8%)
CIE-LABlab(48.90, -43.88, 33.35)
CIE-LCHlch(48.90, 55.11, 142.76°)
OKLaboklab(54.48% -0.1184 0.0794)
OKLCHoklch(54.48% 0.143 146.2)
XYZxyz(9.9757, 17.5106, 6.5948)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288538 #852875
analogous
#478528 #288538 #288567
triadic
#288538 #382885 #853828
tetradic
#288538 #284785 #852875 #856728
square
#288538 #284785 #852875 #856728
split-complementary
#288538 #672885 #852847
monochromatic
#0C2710 #1A5624 #288538 #36B44C #5ACD6E

Accessibility & contrast

On white

4.66
#288538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #288538
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288538#FFFFFF#000000##FFFFFF
##2885381.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877931
Deuteranopia (green-blind)
#7C713E
Tritanopia (blue-blind)
#058274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #288538;
/* rgb */ color: rgb(40, 133, 56);
/* oklch */ color: oklch(54.5% 0.143 146.2);
Tailwind
colors: {
  custom: {
    50: '#6fa971',
    500: '#288538',
    950: '#000000',
  },
}
SCSS
$custom: #288538;
$custom-light: #6fa971;
$custom-dark: #000000;
JSON
{
  "hex": "#288538",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 56
  },
  "hsl": {
    "h": 130.323,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54479,
    "c": 0.14259,
    "h": 146.2
  },
  "luminance": 0.17512
}

Semantic roles & 50–950 ramp

primary
#288538
secondary
#B356A3
accent
#4BC4DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288538

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

Preview Lab → · Contrast checker → · Palette generator →

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