#288B26#288B26

#288B26 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.164 H 142.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#288B26
RGBrgb(40, 139, 38)
HSLhsl(119, 57%, 35%)
HSVhsv(119, 73%, 55%)
CMYKcmyk(71.2%, 0%, 72.7%, 45.5%)
CIE-LABlab(50.75, -48.14, 43.66)
CIE-LCHlch(50.75, 64.99, 137.79°)
OKLaboklab(55.96% -0.1308 0.0995)
OKLCHoklch(55.96% 0.164 142.7)
XYZxyz(10.4569, 19.0552, 4.9603)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B26 #89268B
analogous
#5B8B26 #288B26 #268B57
triadic
#288B26 #26288B #8B2628
tetradic
#288B26 #265B8B #89268B #8B5726
square
#288B26 #265B8B #89268B #8B5726
split-complementary
#288B26 #57268B #8B265B
monochromatic
#0C2B0C #1A5B19 #288B26 #36BB33 #5CD25A

Accessibility & contrast

On white

4.36
#288B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#288B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B26
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B26#FFFFFF#000000##000000
##288B261.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E16
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#0B8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b26;
/* rgb */ color: rgb(40, 139, 38);
/* oklch */ color: oklch(56.0% 0.164 142.7);
Tailwind
colors: {
  custom: {
    50: '#71ae67',
    500: '#288b26',
    950: '#000000',
  },
}
SCSS
$custom: #288b26;
$custom-light: #71ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#288b26",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 118.812,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55959,
    "c": 0.16434,
    "h": 142.7
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#288B26
secondary
#B556B7
accent
#47E0DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288B26

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

Preview Lab → · Contrast checker → · Palette generator →

#288B26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva