#288F23#288F23

#288F23 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.171 H 142.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#288F23
RGBrgb(40, 143, 35)
HSLhsl(117, 61%, 35%)
HSVhsv(117, 76%, 56%)
CMYKcmyk(72%, 0%, 75.5%, 43.9%)
CIE-LABlab(52.08, -49.79, 46.18)
CIE-LCHlch(52.08, 67.91, 137.15°)
OKLaboklab(57.05% -0.1354 0.1044)
OKLCHoklch(57.05% 0.171 142.4)
XYZxyz(11.0003, 20.2162, 4.9122)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F23 #8A238F
analogous
#5E8F23 #288F23 #238F54
triadic
#288F23 #23288F #8F2328
tetradic
#288F23 #235E8F #8A238F #8F5423
square
#288F23 #235E8F #8A238F #8F5423
split-complementary
#288F23 #54238F #8F235E
monochromatic
#0C2D0B #1A5E17 #288F23 #36C02F #5DD657

Accessibility & contrast

On white

4.16
#288F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#288F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F23
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F23#FFFFFF#000000##000000
##288F231.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#088B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288f23;
/* rgb */ color: rgb(40, 143, 35);
/* oklch */ color: oklch(57.1% 0.171 142.4);
Tailwind
colors: {
  custom: {
    50: '#72b165',
    500: '#288f23',
    950: '#000000',
  },
}
SCSS
$custom: #288f23;
$custom-light: #72b165;
$custom-dark: #000000;
JSON
{
  "hex": "#288f23",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 117.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.17097,
    "h": 142.4
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#288F23
secondary
#B554BA
accent
#44E4DC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288F23

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

Preview Lab → · Contrast checker → · Palette generator →

#288F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva