#288626#288626

#288626 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.158 H 142.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#288626
RGBrgb(40, 134, 38)
HSLhsl(119, 56%, 34%)
HSVhsv(119, 72%, 53%)
CMYKcmyk(70.1%, 0%, 71.6%, 47.5%)
CIE-LABlab(49.06, -46.36, 41.89)
CIE-LCHlch(49.06, 62.48, 137.90°)
OKLaboklab(54.55% -0.126 0.0958)
OKLCHoklch(54.55% 0.158 142.8)
XYZxyz(9.7494, 17.6402, 4.7244)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288626 #842686
analogous
#588626 #288626 #268654
triadic
#288626 #262886 #862628
tetradic
#288626 #265886 #842686 #865426
square
#288626 #265886 #842686 #865426
split-complementary
#288626 #542686 #862658
monochromatic
#0C270B #1A5618 #288626 #36B634 #5ACF57

Accessibility & contrast

On white

4.64
#288626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#288626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #288626
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288626#FFFFFF#000000##FFFFFF
##2886261.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897917
Deuteranopia (green-blind)
#7E722F
Tritanopia (blue-blind)
#0F8273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288626;
/* rgb */ color: rgb(40, 134, 38);
/* oklch */ color: oklch(54.6% 0.158 142.8);
Tailwind
colors: {
  custom: {
    50: '#70aa66',
    500: '#288626',
    950: '#000000',
  },
}
SCSS
$custom: #288626;
$custom-light: #70aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#288626",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 118.75,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54554,
    "c": 0.15826,
    "h": 142.8
  },
  "luminance": 0.17641
}

Semantic roles & 50–950 ramp

primary
#288626
secondary
#B254B4
accent
#49DFDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #288626

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

Preview Lab → · Contrast checker → · Palette generator →

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