#288233#288233

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

Color values

HEX#288233
RGBrgb(40, 130, 51)
HSLhsl(127, 53%, 33%)
HSVhsv(127, 69%, 51%)
CMYKcmyk(69.2%, 0%, 60.8%, 49%)
CIE-LABlab(47.82, -43.42, 34.58)
CIE-LCHlch(47.82, 55.51, 141.47°)
OKLaboklab(53.57% -0.1174 0.0817)
OKLCHoklch(53.57% 0.143 145.2)
XYZxyz(9.4546, 16.6544, 5.8477)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288233 #822877
analogous
#4A8228 #288233 #288260
triadic
#288233 #332882 #823328
tetradic
#288233 #284A82 #822877 #826028
square
#288233 #284A82 #822877 #826028
split-complementary
#288233 #602882 #82284A
monochromatic
#0B240E #1A5321 #288233 #36B145 #59CC67

Accessibility & contrast

On white

4.85
#288233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #288233
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288233#FFFFFF#000000##FFFFFF
##2882331.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762B
Deuteranopia (green-blind)
#796F39
Tritanopia (blue-blind)
#0C7F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288233;
/* rgb */ color: rgb(40, 130, 51);
/* oklch */ color: oklch(53.6% 0.143 145.2);
Tailwind
colors: {
  custom: {
    50: '#6fa76d',
    500: '#288233',
    950: '#000000',
  },
}
SCSS
$custom: #288233;
$custom-light: #6fa76d;
$custom-dark: #000000;
JSON
{
  "hex": "#288233",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 127.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.143,
    "h": 145.2
  },
  "luminance": 0.16655
}

Semantic roles & 50–950 ramp

primary
#288233
secondary
#B155A6
accent
#4BCBDC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #288233

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

Preview Lab → · Contrast checker → · Palette generator →

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