#288126#288126

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

Color values

HEX#288126
RGBrgb(40, 129, 38)
HSLhsl(119, 54%, 33%)
HSVhsv(119, 71%, 51%)
CMYKcmyk(69%, 0%, 70.5%, 49.4%)
CIE-LABlab(47.35, -44.55, 40.08)
CIE-LCHlch(47.35, 59.93, 138.02°)
OKLaboklab(53.14% -0.1211 0.092)
OKLCHoklch(53.14% 0.152 142.8)
XYZxyz(9.0747, 16.2906, 4.4995)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288126 #7F2681
analogous
#568126 #288126 #268151
triadic
#288126 #262881 #812628
tetradic
#288126 #265681 #7F2681 #815126
square
#288126 #265681 #7F2681 #815126
split-complementary
#288126 #512681 #812656
monochromatic
#0B220A #195218 #288126 #37B034 #57CD55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288126#FFFFFF#000000##FFFFFF
##2881261.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)
#847519
Deuteranopia (green-blind)
#796E2F
Tritanopia (blue-blind)
#137D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288126;
/* rgb */ color: rgb(40, 129, 38);
/* oklch */ color: oklch(53.1% 0.152 142.8);
Tailwind
colors: {
  custom: {
    50: '#6fa665',
    500: '#288126',
    950: '#000000',
  },
}
SCSS
$custom: #288126;
$custom-light: #6fa665;
$custom-dark: #000000;
JSON
{
  "hex": "#288126",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 118.681,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53142,
    "c": 0.15206,
    "h": 142.8
  },
  "luminance": 0.16292
}

Semantic roles & 50–950 ramp

primary
#288126
secondary
#AF51B1
accent
#4ADEDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #288126

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

Preview Lab → · Contrast checker → · Palette generator →

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