#288F25#288F25

#288F25 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.170 H 142.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#288F25
RGBrgb(40, 143, 37)
HSLhsl(118, 59%, 35%)
HSVhsv(118, 74%, 56%)
CMYKcmyk(72%, 0%, 74.1%, 43.9%)
CIE-LABlab(52.09, -49.62, 45.44)
CIE-LCHlch(52.09, 67.28, 137.52°)
OKLaboklab(57.07% -0.1349 0.1031)
OKLCHoklch(57.07% 0.17 142.6)
XYZxyz(11.0308, 20.2284, 5.0730)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F25 #8C258F
analogous
#5D8F25 #288F25 #258F57
triadic
#288F25 #25288F #8F2528
tetradic
#288F25 #255D8F #8C258F #8F5725
square
#288F25 #255D8F #8C258F #8F5725
split-complementary
#288F25 #57258F #8F255D
monochromatic
#0D2E0C #1A5E18 #288F25 #36C032 #5ED45A

Accessibility & contrast

On white

4.16
#288F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#288F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F25
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F25#FFFFFF#000000##000000
##288F251.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928112
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#078B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f25;
/* rgb */ color: rgb(40, 143, 37);
/* oklch */ color: oklch(57.1% 0.170 142.6);
Tailwind
colors: {
  custom: {
    50: '#72b166',
    500: '#288f25',
    950: '#000000',
  },
}
SCSS
$custom: #288f25;
$custom-light: #72b166;
$custom-dark: #000000;
JSON
{
  "hex": "#288f25",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 118.302,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5707,
    "c": 0.16975,
    "h": 142.6
  },
  "luminance": 0.2023
}

Semantic roles & 50–950 ramp

primary
#288F25
secondary
#B657B9
accent
#46E2DE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288F25

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

Preview Lab → · Contrast checker → · Palette generator →

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