#288934#288934

#288934 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.151 H 145.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#288934
RGBrgb(40, 137, 52)
HSLhsl(127, 55%, 35%)
HSVhsv(127, 71%, 54%)
CMYKcmyk(70.8%, 0%, 62%, 46.3%)
CIE-LABlab(50.20, -45.90, 36.85)
CIE-LCHlch(50.20, 58.86, 141.25°)
OKLaboklab(55.55% -0.1241 0.0866)
OKLCHoklch(55.55% 0.151 145.1)
XYZxyz(10.4399, 18.5892, 6.2860)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288934 #89287D
analogous
#4C8928 #288934 #288965
triadic
#288934 #342889 #893428
tetradic
#288934 #284C89 #89287D #896528
square
#288934 #284C89 #89287D #896528
split-complementary
#288934 #652889 #89284C
monochromatic
#0C2A10 #1A5A22 #288934 #36B846 #5CCF6A

Accessibility & contrast

On white

4.45
#288934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#288934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288934
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288934#FFFFFF#000000##000000
##2889341.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C2B
Deuteranopia (green-blind)
#80743B
Tritanopia (blue-blind)
#048577
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #288934;
/* rgb */ color: rgb(40, 137, 52);
/* oklch */ color: oklch(55.5% 0.151 145.1);
Tailwind
colors: {
  custom: {
    50: '#70ac6f',
    500: '#288934',
    950: '#000000',
  },
}
SCSS
$custom: #288934;
$custom-light: #70ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#288934",
  "rgb": {
    "r": 40,
    "g": 137,
    "b": 52
  },
  "hsl": {
    "h": 127.423,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55545,
    "c": 0.15133,
    "h": 145.1
  },
  "luminance": 0.1859
}

Semantic roles & 50–950 ramp

primary
#288934
secondary
#B558A9
accent
#4ACCDE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288934

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

Preview Lab → · Contrast checker → · Palette generator →

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