#288229#288229

#288229 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.151 H 143.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#288229
RGBrgb(40, 130, 41)
HSLhsl(121, 53%, 33%)
HSVhsv(121, 69%, 51%)
CMYKcmyk(69.2%, 0%, 68.5%, 49%)
CIE-LABlab(47.72, -44.61, 39.17)
CIE-LCHlch(47.72, 59.36, 138.72°)
OKLaboklab(53.46% -0.1211 0.0904)
OKLCHoklch(53.46% 0.151 143.2)
XYZxyz(9.2574, 16.5755, 4.8089)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288229 #822881
analogous
#548228 #288229 #288256
triadic
#288229 #292882 #822928
tetradic
#288229 #285482 #822881 #825628
square
#288229 #285482 #822881 #825628
split-complementary
#288229 #562882 #822854
monochromatic
#0B240B #1A531A #288229 #36B138 #59CC5A

Accessibility & contrast

On white

4.87
#288229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#288229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288229
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288229#FFFFFF#000000##FFFFFF
##2882291.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#117E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #288229;
/* rgb */ color: rgb(40, 130, 41);
/* oklch */ color: oklch(53.5% 0.151 143.2);
Tailwind
colors: {
  custom: {
    50: '#6fa767',
    500: '#288229',
    950: '#000000',
  },
}
SCSS
$custom: #288229;
$custom-light: #6fa767;
$custom-dark: #000000;
JSON
{
  "hex": "#288229",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 120.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53455,
    "c": 0.15112,
    "h": 143.2
  },
  "luminance": 0.16576
}

Semantic roles & 50–950 ramp

primary
#288229
secondary
#B155B0
accent
#4BDBDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #288229

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

Preview Lab → · Contrast checker → · Palette generator →

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