#288F30#288F30

#288F30 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.162 H 144.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#288F30
RGBrgb(40, 143, 48)
HSLhsl(125, 56%, 36%)
HSVhsv(125, 72%, 56%)
CMYKcmyk(72%, 0%, 66.4%, 43.9%)
CIE-LABlab(52.18, -48.55, 40.93)
CIE-LCHlch(52.18, 63.50, 139.86°)
OKLaboklab(57.17% -0.1314 0.095)
OKLCHoklch(57.17% 0.162 144.1)
XYZxyz(11.2303, 20.3082, 6.1238)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F30 #8F2887
analogous
#538F28 #288F30 #288F63
triadic
#288F30 #30288F #8F3028
tetradic
#288F30 #28538F #8F2887 #8F6328
square
#288F30 #28538F #8F2887 #8F6328
split-complementary
#288F30 #63288F #8F2853
monochromatic
#0D2F10 #1B5F20 #288F30 #35BF40 #5FD268

Accessibility & contrast

On white

4.15
#288F30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#288F30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F30
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F30#FFFFFF#000000##000000
##288F301.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928124
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#018B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f30;
/* rgb */ color: rgb(40, 143, 48);
/* oklch */ color: oklch(57.2% 0.162 144.1);
Tailwind
colors: {
  custom: {
    50: '#72b16d',
    500: '#288f30',
    950: '#000000',
  },
}
SCSS
$custom: #288f30;
$custom-light: #72b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#288f30",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 48
  },
  "hsl": {
    "h": 124.66,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57173,
    "c": 0.16212,
    "h": 144.1
  },
  "luminance": 0.20309
}

Semantic roles & 50–950 ramp

primary
#288F30
secondary
#B85BB1
accent
#48D4E0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #288F30

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

Preview Lab → · Contrast checker → · Palette generator →

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