#288637#288637

#288637 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.145 H 145.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#288637
RGBrgb(40, 134, 55)
HSLhsl(130, 54%, 34%)
HSVhsv(130, 70%, 53%)
CMYKcmyk(70.1%, 0%, 59%, 47.5%)
CIE-LABlab(49.22, -44.39, 34.24)
CIE-LCHlch(49.22, 56.06, 142.36°)
OKLaboklab(54.75% -0.1199 0.0813)
OKLCHoklch(54.75% 0.145 145.9)
XYZxyz(10.0891, 17.7761, 6.5131)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288637 #862877
analogous
#488628 #288637 #288666
triadic
#288637 #372886 #863728
tetradic
#288637 #284886 #862877 #866628
square
#288637 #284886 #862877 #866628
split-complementary
#288637 #662886 #862848
monochromatic
#0C2810 #1A5724 #288637 #36B54A #5BCE6D

Accessibility & contrast

On white

4.61
#288637 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#288637 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #288637
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288637#FFFFFF#000000##FFFFFF
##2886371.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A2F
Deuteranopia (green-blind)
#7D723D
Tritanopia (blue-blind)
#058375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288637;
/* rgb */ color: rgb(40, 134, 55);
/* oklch */ color: oklch(54.7% 0.145 145.9);
Tailwind
colors: {
  custom: {
    50: '#6faa70',
    500: '#288637',
    950: '#000000',
  },
}
SCSS
$custom: #288637;
$custom-light: #6faa70;
$custom-dark: #000000;
JSON
{
  "hex": "#288637",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 55
  },
  "hsl": {
    "h": 129.574,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.14482,
    "h": 145.9
  },
  "luminance": 0.17777
}

Semantic roles & 50–950 ramp

primary
#288637
secondary
#B357A4
accent
#4AC6DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #288637

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

Preview Lab → · Contrast checker → · Palette generator →

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