#288138#288138

#288138 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.137 H 146.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#288138
RGBrgb(40, 129, 56)
HSLhsl(131, 53%, 33%)
HSVhsv(131, 69%, 51%)
CMYKcmyk(69%, 0%, 56.6%, 49.4%)
CIE-LABlab(47.54, -42.35, 31.73)
CIE-LCHlch(47.54, 52.91, 143.16°)
OKLaboklab(53.36% -0.1143 0.0759)
OKLCHoklch(53.36% 0.137 146.4)
XYZxyz(9.4385, 16.4362, 6.4157)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288138 #812871
analogous
#448128 #288138 #288165
triadic
#288138 #382881 #813828
tetradic
#288138 #284481 #812871 #816528
square
#288138 #284481 #812871 #816528
split-complementary
#288138 #652881 #812844
monochromatic
#0B240F #1A5224 #288138 #36B04C #58CB6D

Accessibility & contrast

On white

4.90
#288138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#288138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288138
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288138#FFFFFF#000000##FFFFFF
##2881381.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837531
Deuteranopia (green-blind)
#786E3E
Tritanopia (blue-blind)
#097E71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288138;
/* rgb */ color: rgb(40, 129, 56);
/* oklch */ color: oklch(53.4% 0.137 146.4);
Tailwind
colors: {
  custom: {
    50: '#6ea671',
    500: '#288138',
    950: '#000000',
  },
}
SCSS
$custom: #288138;
$custom-light: #6ea671;
$custom-dark: #000000;
JSON
{
  "hex": "#288138",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 130.787,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53359,
    "c": 0.13719,
    "h": 146.4
  },
  "luminance": 0.16437
}

Semantic roles & 50–950 ramp

primary
#288138
secondary
#B054A0
accent
#4CC2DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #288138

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

Preview Lab → · Contrast checker → · Palette generator →

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