#288622#288622

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

Color values

HEX#288622
RGBrgb(40, 134, 34)
HSLhsl(116, 60%, 33%)
HSVhsv(116, 75%, 53%)
CMYKcmyk(70.1%, 0%, 74.6%, 47.5%)
CIE-LABlab(49.03, -46.72, 43.47)
CIE-LCHlch(49.03, 63.82, 137.07°)
OKLaboklab(54.52% -0.1272 0.0986)
OKLCHoklch(54.52% 0.161 142.2)
XYZxyz(9.6884, 17.6158, 4.4027)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288622 #802286
analogous
#5A8622 #288622 #22864E
triadic
#288622 #222886 #862228
tetradic
#288622 #225A86 #802286 #864E22
square
#288622 #225A86 #802286 #864E22
split-complementary
#288622 #4E2286 #86225A
monochromatic
#0B2409 #195516 #288622 #37B72E #58D350

Accessibility & contrast

On white

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

On black

4.52
#288622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##288622#FFFFFF#000000##FFFFFF
##2886221.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897910
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#118272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #288622;
/* rgb */ color: rgb(40, 134, 34);
/* oklch */ color: oklch(54.5% 0.161 142.2);
Tailwind
colors: {
  custom: {
    50: '#70aa64',
    500: '#288622',
    950: '#000000',
  },
}
SCSS
$custom: #288622;
$custom-light: #70aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#288622",
  "rgb": {
    "r": 40,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 116.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54519,
    "c": 0.1609,
    "h": 142.2
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#288622
secondary
#B04EB6
accent
#45E3D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288622

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

Preview Lab → · Contrast checker → · Palette generator →

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