#288C1A#288C1A

#288C1A is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.172 H 141.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#288C1A
RGBrgb(40, 140, 26)
HSLhsl(113, 69%, 33%)
HSVhsv(113, 81%, 55%)
CMYKcmyk(71.4%, 0%, 81.4%, 45.1%)
CIE-LABlab(51.01, -49.41, 48.24)
CIE-LCHlch(51.01, 69.05, 135.68°)
OKLaboklab(56.15% -0.1348 0.1074)
OKLCHoklch(56.15% 0.172 141.5)
XYZxyz(10.4390, 19.2807, 4.1485)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288C1A #7E1A8C
analogous
#618C1A #288C1A #1A8C45
triadic
#288C1A #1A288C #8C1A28
tetradic
#288C1A #1A618C #7E1A8C #8C451A
square
#288C1A #1A618C #7E1A8C #8C451A
split-complementary
#288C1A #451A8C #8C1A61
monochromatic
#0B2507 #195810 #288C1A #37C024 #57DC44

Accessibility & contrast

On white

4.32
#288C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#288C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288C1A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288C1A#FFFFFF#000000##000000
##288C1A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#0F8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288c1a;
/* rgb */ color: rgb(40, 140, 26);
/* oklch */ color: oklch(56.2% 0.172 141.5);
Tailwind
colors: {
  custom: {
    50: '#72af61',
    500: '#288c1a',
    950: '#000000',
  },
}
SCSS
$custom: #288c1a;
$custom-light: #72af61;
$custom-dark: #000000;
JSON
{
  "hex": "#288c1a",
  "rgb": {
    "r": 40,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 112.632,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56152,
    "c": 0.17237,
    "h": 141.5
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#288C1A
secondary
#AF44BE
accent
#3CECD6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #288C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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