#288C25#288C25

#288C25 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.166 H 142.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#288C25
RGBrgb(40, 140, 37)
HSLhsl(118, 58%, 35%)
HSVhsv(118, 74%, 55%)
CMYKcmyk(71.4%, 0%, 73.6%, 45.1%)
CIE-LABlab(51.08, -48.58, 44.40)
CIE-LCHlch(51.08, 65.81, 137.57°)
OKLaboklab(56.23% -0.132 0.1009)
OKLCHoklch(56.23% 0.166 142.6)
XYZxyz(10.5865, 19.3397, 4.9249)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C25 #89258C
analogous
#5C8C25 #288C25 #258C55
triadic
#288C25 #25288C #8C2528
tetradic
#288C25 #255C8C #89258C #8C5525
square
#288C25 #255C8C #89258C #8C5525
split-complementary
#288C25 #55258C #8C255C
monochromatic
#0C2B0B #1A5C18 #288C25 #36BC32 #5CD358

Accessibility & contrast

On white

4.31
#288C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#288C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C25
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C25#FFFFFF#000000##000000
##288C251.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F14
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#0B8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c25;
/* rgb */ color: rgb(40, 140, 37);
/* oklch */ color: oklch(56.2% 0.166 142.6);
Tailwind
colors: {
  custom: {
    50: '#72af66',
    500: '#288c25',
    950: '#000000',
  },
}
SCSS
$custom: #288c25;
$custom-light: #72af66;
$custom-dark: #000000;
JSON
{
  "hex": "#288c25",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 118.252,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5623,
    "c": 0.16619,
    "h": 142.6
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#288C25
secondary
#B555B8
accent
#46E1DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #288C25

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

Preview Lab → · Contrast checker → · Palette generator →

#288C25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva