#288223#288223

#288223 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.155 H 142.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#288223
RGBrgb(40, 130, 35)
HSLhsl(117, 58%, 32%)
HSVhsv(117, 73%, 51%)
CMYKcmyk(69.2%, 0%, 73.1%, 49%)
CIE-LABlab(47.67, -45.20, 41.68)
CIE-LCHlch(47.67, 61.48, 137.32°)
OKLaboklab(53.4% -0.123 0.0949)
OKLCHoklch(53.4% 0.155 142.3)
XYZxyz(9.1606, 16.5368, 4.2989)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288223 #7D2382
analogous
#588223 #288223 #23824D
triadic
#288223 #232882 #822328
tetradic
#288223 #235882 #7D2382 #824D23
square
#288223 #235882 #7D2382 #824D23
split-complementary
#288223 #4D2382 #822358
monochromatic
#0A2209 #195216 #288223 #37B230 #56D050

Accessibility & contrast

On white

4.88
#288223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#288223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288223
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288223#FFFFFF#000000##FFFFFF
##2882231.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857614
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#137E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288223;
/* rgb */ color: rgb(40, 130, 35);
/* oklch */ color: oklch(53.4% 0.155 142.3);
Tailwind
colors: {
  custom: {
    50: '#6fa764',
    500: '#288223',
    950: '#000000',
  },
}
SCSS
$custom: #288223;
$custom-light: #6fa764;
$custom-dark: #000000;
JSON
{
  "hex": "#288223",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 116.842,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53398,
    "c": 0.15538,
    "h": 142.3
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#288223
secondary
#AE4DB3
accent
#47E1D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #288223

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

Preview Lab → · Contrast checker → · Palette generator →

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