#288334#288334

#288334 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.143 H 145.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#288334
RGBrgb(40, 131, 52)
HSLhsl(128, 53%, 34%)
HSVhsv(128, 69%, 51%)
CMYKcmyk(69.5%, 0%, 60.3%, 48.6%)
CIE-LABlab(48.17, -43.67, 34.49)
CIE-LCHlch(48.17, 55.65, 141.69°)
OKLaboklab(53.86% -0.118 0.0816)
OKLCHoklch(53.86% 0.143 145.3)
XYZxyz(9.6106, 16.9306, 6.0096)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288334 #832877
analogous
#498328 #288334 #288361
triadic
#288334 #342883 #833428
tetradic
#288334 #284983 #832877 #836128
square
#288334 #284983 #832877 #836128
split-complementary
#288334 #612883 #832849
monochromatic
#0B250F #1A5421 #288334 #36B247 #59CC68

Accessibility & contrast

On white

4.79
#288334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#288334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288334
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288334#FFFFFF#000000##FFFFFF
##2883341.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772C
Deuteranopia (green-blind)
#7A6F3A
Tritanopia (blue-blind)
#0A8072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288334;
/* rgb */ color: rgb(40, 131, 52);
/* oklch */ color: oklch(53.9% 0.143 145.3);
Tailwind
colors: {
  custom: {
    50: '#6fa86e',
    500: '#288334',
    950: '#000000',
  },
}
SCSS
$custom: #288334;
$custom-light: #6fa86e;
$custom-dark: #000000;
JSON
{
  "hex": "#288334",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 127.912,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53865,
    "c": 0.14347,
    "h": 145.3
  },
  "luminance": 0.16932
}

Semantic roles & 50–950 ramp

primary
#288334
secondary
#B155A5
accent
#4BC9DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288334

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

Preview Lab → · Contrast checker → · Palette generator →

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