#288022#288022

#288022 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.154 H 142.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#288022
RGBrgb(40, 128, 34)
HSLhsl(116, 58%, 32%)
HSVhsv(116, 73%, 50%)
CMYKcmyk(68.8%, 0%, 73.4%, 49.8%)
CIE-LABlab(46.98, -44.56, 41.37)
CIE-LCHlch(46.98, 60.80, 137.13°)
OKLaboklab(52.82% -0.1213 0.0942)
OKLCHoklch(52.82% 0.154 142.2)
XYZxyz(8.8825, 16.0040, 4.1340)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288022 #7A2280
analogous
#578022 #288022 #22804B
triadic
#288022 #222880 #802228
tetradic
#288022 #225780 #7A2280 #804B22
square
#288022 #225780 #7A2280 #804B22
split-complementary
#288022 #4B2280 #802257
monochromatic
#0A1F08 #195015 #288022 #37B02F #55D04D

Accessibility & contrast

On white

5.00
#288022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#288022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288022
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288022#FFFFFF#000000##FFFFFF
##2880221.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#147C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #288022;
/* rgb */ color: rgb(40, 128, 34);
/* oklch */ color: oklch(52.8% 0.154 142.2);
Tailwind
colors: {
  custom: {
    50: '#6fa663',
    500: '#288022',
    950: '#000000',
  },
}
SCSS
$custom: #288022;
$custom-light: #6fa663;
$custom-dark: #000000;
JSON
{
  "hex": "#288022",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 116.17,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.15359,
    "h": 142.2
  },
  "luminance": 0.16005
}

Semantic roles & 50–950 ramp

primary
#288022
secondary
#AC4BB2
accent
#47E1D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #288022

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

Preview Lab → · Contrast checker → · Palette generator →

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