#288722#288722

#288722 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.162 H 142.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#288722
RGBrgb(40, 135, 34)
HSLhsl(116, 60%, 33%)
HSVhsv(116, 75%, 53%)
CMYKcmyk(70.4%, 0%, 74.8%, 47.1%)
CIE-LABlab(49.37, -47.08, 43.82)
CIE-LCHlch(49.37, 64.31, 137.06°)
OKLaboklab(54.8% -0.1281 0.0993)
OKLCHoklch(54.8% 0.162 142.2)
XYZxyz(9.8272, 17.8935, 4.4490)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288722 #812287
analogous
#5A8722 #288722 #22874F
triadic
#288722 #222887 #872228
tetradic
#288722 #225A87 #812287 #874F22
square
#288722 #225A87 #812287 #874F22
split-complementary
#288722 #4F2287 #87225A
monochromatic
#0B2509 #1A5616 #288722 #36B82E #58D350

Accessibility & contrast

On white

4.59
#288722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#288722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #288722
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288722#FFFFFF#000000##FFFFFF
##2887221.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#108373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #288722;
/* rgb */ color: rgb(40, 135, 34);
/* oklch */ color: oklch(54.8% 0.162 142.2);
Tailwind
colors: {
  custom: {
    50: '#71ab64',
    500: '#288722',
    950: '#000000',
  },
}
SCSS
$custom: #288722;
$custom-light: #71ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#288722",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 116.436,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54801,
    "c": 0.1621,
    "h": 142.2
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#288722
secondary
#B04EB7
accent
#45E3DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288722

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

Preview Lab → · Contrast checker → · Palette generator →

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