#288C30#288C30

#288C30 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.158 H 144.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288C30
RGBrgb(40, 140, 48)
HSLhsl(125, 56%, 35%)
HSVhsv(125, 71%, 55%)
CMYKcmyk(71.4%, 0%, 65.7%, 45.1%)
CIE-LABlab(51.17, -47.47, 39.81)
CIE-LCHlch(51.17, 61.96, 140.01°)
OKLaboklab(56.34% -0.1285 0.0926)
OKLCHoklch(56.34% 0.158 144.2)
XYZxyz(10.7860, 19.4195, 5.9756)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C30 #8C2884
analogous
#528C28 #288C30 #288C62
triadic
#288C30 #30288C #8C3028
tetradic
#288C30 #28528C #8C2884 #8C6228
square
#288C30 #28528C #8C2884 #8C6228
split-complementary
#288C30 #62288C #8C2852
monochromatic
#0D2D0F #1A5C20 #288C30 #36BC40 #5ED167

Accessibility & contrast

On white

4.30
#288C30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#288C30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C30
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C30#FFFFFF#000000##000000
##288C301.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F25
Deuteranopia (green-blind)
#837738
Tritanopia (blue-blind)
#048879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #288c30;
/* rgb */ color: rgb(40, 140, 48);
/* oklch */ color: oklch(56.3% 0.158 144.2);
Tailwind
colors: {
  custom: {
    50: '#71af6c',
    500: '#288c30',
    950: '#000000',
  },
}
SCSS
$custom: #288c30;
$custom-light: #71af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#288c30",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 48
  },
  "hsl": {
    "h": 124.8,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56336,
    "c": 0.15838,
    "h": 144.2
  },
  "luminance": 0.19421
}

Semantic roles & 50–950 ramp

primary
#288C30
secondary
#B65AAF
accent
#49D3DF
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288C30

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

Preview Lab → · Contrast checker → · Palette generator →

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