#288145#288145

#288145 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.125 H 150.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#288145
RGBrgb(40, 129, 69)
HSLhsl(140, 53%, 33%)
HSVhsv(140, 69%, 51%)
CMYKcmyk(69%, 0%, 46.5%, 49.4%)
CIE-LABlab(47.73, -40.24, 25.03)
CIE-LCHlch(47.73, 47.39, 148.12°)
OKLaboklab(53.57% -0.1085 0.0615)
OKLCHoklch(53.57% 0.125 150.5)
XYZxyz(9.7987, 16.5803, 8.3130)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288145 #812864
analogous
#378128 #288145 #288171
triadic
#288145 #452881 #814528
tetradic
#288145 #283781 #812864 #817128
square
#288145 #283781 #812864 #817128
split-complementary
#288145 #712881 #812837
monochromatic
#0B2413 #1A522C #288145 #36B05E #58CB7E

Accessibility & contrast

On white

4.87
#288145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#288145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288145
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288145#FFFFFF#000000##FFFFFF
##2881451.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827640
Deuteranopia (green-blind)
#776E49
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288145;
/* rgb */ color: rgb(40, 129, 69);
/* oklch */ color: oklch(53.6% 0.125 150.5);
Tailwind
colors: {
  custom: {
    50: '#6ea679',
    500: '#288145',
    950: '#000000',
  },
}
SCSS
$custom: #288145;
$custom-light: #6ea679;
$custom-dark: #000000;
JSON
{
  "hex": "#288145",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 139.551,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53572,
    "c": 0.12469,
    "h": 150.5
  },
  "luminance": 0.16581
}

Semantic roles & 50–950 ramp

primary
#288145
secondary
#B05492
accent
#4CADDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #288145

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

Preview Lab → · Contrast checker → · Palette generator →

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