#288520#288520

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

Color values

HEX#288520
RGBrgb(40, 133, 32)
HSLhsl(115, 61%, 32%)
HSVhsv(115, 76%, 52%)
CMYKcmyk(69.9%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.67, -46.53, 43.88)
CIE-LCHlch(48.67, 63.96, 136.68°)
OKLaboklab(54.22% -0.1268 0.0991)
OKLCHoklch(54.22% 0.161 142)
XYZxyz(9.5228, 17.3295, 4.2093)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288520 #7D2085
analogous
#5A8520 #288520 #20854B
triadic
#288520 #202885 #852028
tetradic
#288520 #205A85 #7D2085 #854B20
square
#288520 #205A85 #7D2085 #854B20
split-complementary
#288520 #4B2085 #85205A
monochromatic
#0A2208 #195414 #288520 #37B62C #56D44C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288520#FFFFFF#000000##FFFFFF
##2885201.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)
#88780C
Deuteranopia (green-blind)
#7D712B
Tritanopia (blue-blind)
#128171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #288520;
/* rgb */ color: rgb(40, 133, 32);
/* oklch */ color: oklch(54.2% 0.161 142.0);
Tailwind
colors: {
  custom: {
    50: '#70a963',
    500: '#288520',
    950: '#000000',
  },
}
SCSS
$custom: #288520;
$custom-light: #70a963;
$custom-dark: #000000;
JSON
{
  "hex": "#288520",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 115.248,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.16093,
    "h": 142
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#288520
secondary
#AE4AB7
accent
#43E4D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #288520

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

Preview Lab → · Contrast checker → · Palette generator →

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