#288335#288335

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

Color values

HEX#288335
RGBrgb(40, 131, 53)
HSLhsl(129, 53%, 34%)
HSVhsv(129, 69%, 51%)
CMYKcmyk(69.5%, 0%, 59.5%, 48.6%)
CIE-LABlab(48.18, -43.53, 34.01)
CIE-LCHlch(48.18, 55.24, 142.00°)
OKLaboklab(53.88% -0.1176 0.0806)
OKLCHoklch(53.88% 0.143 145.6)
XYZxyz(9.6333, 16.9397, 6.1295)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288335 #832876
analogous
#488328 #288335 #288362
triadic
#288335 #352883 #833528
tetradic
#288335 #284883 #832876 #836228
square
#288335 #284883 #832876 #836228
split-complementary
#288335 #622883 #832848
monochromatic
#0B250F #1A5422 #288335 #36B248 #59CC6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288335#FFFFFF#000000##FFFFFF
##2883351.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)
#85772D
Deuteranopia (green-blind)
#7A6F3B
Tritanopia (blue-blind)
#098072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288335;
/* rgb */ color: rgb(40, 131, 53);
/* oklch */ color: oklch(53.9% 0.143 145.6);
Tailwind
colors: {
  custom: {
    50: '#6fa86f',
    500: '#288335',
    950: '#000000',
  },
}
SCSS
$custom: #288335;
$custom-light: #6fa86f;
$custom-dark: #000000;
JSON
{
  "hex": "#288335",
  "rgb": {
    "r": 40,
    "g": 131,
    "b": 53
  },
  "hsl": {
    "h": 128.571,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53878,
    "c": 0.14259,
    "h": 145.6
  },
  "luminance": 0.16941
}

Semantic roles & 50–950 ramp

primary
#288335
secondary
#B155A4
accent
#4BC8DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288335

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

Preview Lab → · Contrast checker → · Palette generator →

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