#288522#288522

#288522 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.160 H 142.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#288522
RGBrgb(40, 133, 34)
HSLhsl(116, 59%, 33%)
HSVhsv(116, 74%, 52%)
CMYKcmyk(69.9%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.69, -46.37, 43.12)
CIE-LCHlch(48.69, 63.32, 137.08°)
OKLaboklab(54.24% -0.1262 0.0978)
OKLCHoklch(54.24% 0.16 142.2)
XYZxyz(9.5508, 17.3407, 4.3568)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288522 #7F2285
analogous
#598522 #288522 #22854E
triadic
#288522 #222885 #852228
tetradic
#288522 #225985 #7F2285 #854E22
square
#288522 #225985 #7F2285 #854E22
split-complementary
#288522 #4E2285 #852259
monochromatic
#0B2409 #195416 #288522 #37B62E #57D24F

Accessibility & contrast

On white

4.70
#288522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#288522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288522
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288522#FFFFFF#000000##FFFFFF
##2885221.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#118172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #288522;
/* rgb */ color: rgb(40, 133, 34);
/* oklch */ color: oklch(54.2% 0.160 142.2);
Tailwind
colors: {
  custom: {
    50: '#70a964',
    500: '#288522',
    950: '#000000',
  },
}
SCSS
$custom: #288522;
$custom-light: #70a964;
$custom-dark: #000000;
JSON
{
  "hex": "#288522",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 116.364,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.15969,
    "h": 142.2
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#288522
secondary
#AF4DB6
accent
#45E2D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288522

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

Preview Lab → · Contrast checker → · Palette generator →

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