#288028#288028

#288028 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.149 H 143.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#288028
RGBrgb(40, 128, 40)
HSLhsl(120, 52%, 33%)
HSVhsv(120, 69%, 50%)
CMYKcmyk(68.8%, 0%, 68.8%, 49.8%)
CIE-LABlab(47.03, -43.98, 38.86)
CIE-LCHlch(47.03, 58.69, 138.53°)
OKLaboklab(52.88% -0.1194 0.0897)
OKLCHoklch(52.88% 0.149 143.1)
XYZxyz(8.9767, 16.0417, 4.6304)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288028 #802880
analogous
#548028 #288028 #288054
triadic
#288028 #282880 #802828
tetradic
#288028 #285480 #802880 #805428
square
#288028 #285480 #802880 #805428
split-complementary
#288028 #542880 #802854
monochromatic
#0B230B #195119 #288028 #37AF37 #58CB58

Accessibility & contrast

On white

4.99
#288028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#288028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288028
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288028#FFFFFF#000000##FFFFFF
##2880281.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#786D30
Tritanopia (blue-blind)
#137C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #288028;
/* rgb */ color: rgb(40, 128, 40);
/* oklch */ color: oklch(52.9% 0.149 143.1);
Tailwind
colors: {
  custom: {
    50: '#6fa666',
    500: '#288028',
    950: '#000000',
  },
}
SCSS
$custom: #288028;
$custom-light: #6fa666;
$custom-dark: #000000;
JSON
{
  "hex": "#288028",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.14933,
    "h": 143.1
  },
  "luminance": 0.16043
}

Semantic roles & 50–950 ramp

primary
#288028
secondary
#B054B0
accent
#4CDCDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #288028

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

Preview Lab → · Contrast checker → · Palette generator →

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