#288122#288122

#288122 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.155 H 142.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#288122
RGBrgb(40, 129, 34)
HSLhsl(116, 58%, 32%)
HSVhsv(116, 74%, 51%)
CMYKcmyk(69%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.32, -44.93, 41.72)
CIE-LCHlch(47.32, 61.31, 137.12°)
OKLaboklab(53.11% -0.1223 0.0949)
OKLCHoklch(53.11% 0.155 142.2)
XYZxyz(9.0136, 16.2662, 4.1777)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288122 #7B2281
analogous
#578122 #288122 #22814C
triadic
#288122 #222881 #812228
tetradic
#288122 #225781 #7B2281 #814C22
square
#288122 #225781 #7B2281 #814C22
split-complementary
#288122 #4C2281 #812257
monochromatic
#0A2008 #195115 #288122 #37B12F #56D04D

Accessibility & contrast

On white

4.94
#288122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#288122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288122
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288122#FFFFFF#000000##FFFFFF
##2881221.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847512
Deuteranopia (green-blind)
#7A6D2C
Tritanopia (blue-blind)
#147D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288122;
/* rgb */ color: rgb(40, 129, 34);
/* oklch */ color: oklch(53.1% 0.155 142.2);
Tailwind
colors: {
  custom: {
    50: '#6fa663',
    500: '#288122',
    950: '#000000',
  },
}
SCSS
$custom: #288122;
$custom-light: #6fa663;
$custom-dark: #000000;
JSON
{
  "hex": "#288122",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 116.211,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.15482,
    "h": 142.2
  },
  "luminance": 0.16267
}

Semantic roles & 50–950 ramp

primary
#288122
secondary
#AD4BB3
accent
#46E1D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #288122

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

Preview Lab → · Contrast checker → · Palette generator →

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