#288127#288127

#288127 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.151 H 142.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#288127
RGBrgb(40, 129, 39)
HSLhsl(119, 54%, 33%)
HSVhsv(119, 70%, 51%)
CMYKcmyk(69%, 0%, 69.8%, 49.4%)
CIE-LABlab(47.36, -44.45, 39.66)
CIE-LCHlch(47.36, 59.57, 138.26°)
OKLaboklab(53.15% -0.1207 0.0912)
OKLCHoklch(53.15% 0.151 142.9)
XYZxyz(9.0910, 16.2972, 4.5856)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288127 #802781
analogous
#558127 #288127 #278153
triadic
#288127 #272881 #812728
tetradic
#288127 #275581 #802781 #815327
square
#288127 #275581 #802781 #815327
split-complementary
#288127 #532781 #812755
monochromatic
#0B230B #195219 #288127 #37B035 #58CC56

Accessibility & contrast

On white

4.93
#288127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#288127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288127
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288127#FFFFFF#000000##FFFFFF
##2881271.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751B
Deuteranopia (green-blind)
#796E2F
Tritanopia (blue-blind)
#127D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288127;
/* rgb */ color: rgb(40, 129, 39);
/* oklch */ color: oklch(53.2% 0.151 142.9);
Tailwind
colors: {
  custom: {
    50: '#6fa666',
    500: '#288127',
    950: '#000000',
  },
}
SCSS
$custom: #288127;
$custom-light: #6fa666;
$custom-dark: #000000;
JSON
{
  "hex": "#288127",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 119.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.15134,
    "h": 142.9
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#288127
secondary
#B053B1
accent
#4BDDDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #288127

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

Preview Lab → · Contrast checker → · Palette generator →

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