#288235#288235

#288235 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.141 H 145.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#288235
RGBrgb(40, 130, 53)
HSLhsl(129, 53%, 33%)
HSVhsv(129, 69%, 51%)
CMYKcmyk(69.2%, 0%, 59.2%, 49%)
CIE-LABlab(47.84, -43.15, 33.61)
CIE-LCHlch(47.84, 54.70, 142.09°)
OKLaboklab(53.6% -0.1166 0.0797)
OKLCHoklch(53.6% 0.141 145.6)
XYZxyz(9.4997, 16.6724, 6.0849)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288235 #822875
analogous
#488228 #288235 #288262
triadic
#288235 #352882 #823528
tetradic
#288235 #284882 #822875 #826228
square
#288235 #284882 #822875 #826228
split-complementary
#288235 #622882 #822848
monochromatic
#0B240F #1A5322 #288235 #36B148 #59CC69

Accessibility & contrast

On white

4.84
#288235 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#288235 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288235
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288235#FFFFFF#000000##FFFFFF
##2882351.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762D
Deuteranopia (green-blind)
#796F3B
Tritanopia (blue-blind)
#0A7F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288235;
/* rgb */ color: rgb(40, 130, 53);
/* oklch */ color: oklch(53.6% 0.141 145.6);
Tailwind
colors: {
  custom: {
    50: '#6fa76f',
    500: '#288235',
    950: '#000000',
  },
}
SCSS
$custom: #288235;
$custom-light: #6fa76f;
$custom-dark: #000000;
JSON
{
  "hex": "#288235",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 53
  },
  "hsl": {
    "h": 128.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53597,
    "c": 0.14125,
    "h": 145.6
  },
  "luminance": 0.16673
}

Semantic roles & 50–950 ramp

primary
#288235
secondary
#B155A4
accent
#4BC7DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #288235

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

Preview Lab → · Contrast checker → · Palette generator →

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