#288246#288246

#288246 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.125 H 150.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#288246
RGBrgb(40, 130, 70)
HSLhsl(140, 53%, 33%)
HSVhsv(140, 69%, 51%)
CMYKcmyk(69.2%, 0%, 46.2%, 49%)
CIE-LABlab(48.08, -40.46, 24.93)
CIE-LCHlch(48.08, 47.53, 148.36°)
OKLaboklab(53.87% -0.1091 0.0613)
OKLCHoklch(53.87% 0.125 150.7)
XYZxyz(9.9624, 16.8575, 8.5220)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288246 #822864
analogous
#378228 #288246 #288273
triadic
#288246 #462882 #824628
tetradic
#288246 #283782 #822864 #827328
square
#288246 #283782 #822864 #827328
split-complementary
#288246 #732882 #822837
monochromatic
#0B2414 #1A532D #288246 #36B15F #59CC7F

Accessibility & contrast

On white

4.80
#288246 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#288246 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288246
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288246#FFFFFF#000000##FFFFFF
##2882461.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837741
Deuteranopia (green-blind)
#776F4A
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288246;
/* rgb */ color: rgb(40, 130, 70);
/* oklch */ color: oklch(53.9% 0.125 150.7);
Tailwind
colors: {
  custom: {
    50: '#6ea77a',
    500: '#288246',
    950: '#000000',
  },
}
SCSS
$custom: #288246;
$custom-light: #6ea77a;
$custom-dark: #000000;
JSON
{
  "hex": "#288246",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 70
  },
  "hsl": {
    "h": 140,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53868,
    "c": 0.12512,
    "h": 150.7
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#288246
secondary
#B15592
accent
#4BACDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #288246

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

Preview Lab → · Contrast checker → · Palette generator →

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