#288730#288730

#288730 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.152 H 144.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#288730
RGBrgb(40, 135, 48)
HSLhsl(125, 54%, 34%)
HSVhsv(125, 70%, 53%)
CMYKcmyk(70.4%, 0%, 64.4%, 47.1%)
CIE-LABlab(49.49, -45.66, 37.92)
CIE-LCHlch(49.49, 59.36, 140.29°)
OKLaboklab(54.94% -0.1236 0.0886)
OKLCHoklch(54.94% 0.152 144.4)
XYZxyz(10.0719, 17.9914, 5.7376)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288730 #87287F
analogous
#508728 #288730 #288760
triadic
#288730 #302887 #873028
tetradic
#288730 #285087 #87287F #876028
square
#288730 #285087 #87287F #876028
split-complementary
#288730 #602887 #872850
monochromatic
#0C290E #1A581F #288730 #36B641 #5BCE65

Accessibility & contrast

On white

4.57
#288730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#288730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288730
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288730#FFFFFF#000000##000000
##2887301.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A26
Deuteranopia (green-blind)
#7E7337
Tritanopia (blue-blind)
#098375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #288730;
/* rgb */ color: rgb(40, 135, 48);
/* oklch */ color: oklch(54.9% 0.152 144.4);
Tailwind
colors: {
  custom: {
    50: '#70ab6c',
    500: '#288730',
    950: '#000000',
  },
}
SCSS
$custom: #288730;
$custom-light: #70ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#288730",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 125.053,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54938,
    "c": 0.15204,
    "h": 144.4
  },
  "luminance": 0.17992
}

Semantic roles & 50–950 ramp

primary
#288730
secondary
#B457AC
accent
#4AD1DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288730

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

Preview Lab → · Contrast checker → · Palette generator →

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