#288B2F#288B2F

#288B2F is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.158 H 144.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#288B2F
RGBrgb(40, 139, 47)
HSLhsl(124, 55%, 35%)
HSVhsv(124, 71%, 55%)
CMYKcmyk(71.2%, 0%, 66.2%, 45.5%)
CIE-LABlab(50.83, -47.23, 39.88)
CIE-LCHlch(50.83, 61.81, 139.82°)
OKLaboklab(56.05% -0.1279 0.0926)
OKLCHoklch(56.05% 0.158 144.1)
XYZxyz(10.6201, 19.1204, 5.8197)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B2F #8B2884
analogous
#538B28 #288B2F #288B60
triadic
#288B2F #2F288B #8B2F28
tetradic
#288B2F #28538B #8B2884 #8B6028
square
#288B2F #28538B #8B2884 #8B6028
split-complementary
#288B2F #60288B #8B2853
monochromatic
#0D2C0F #1A5B1F #288B2F #36BB3F #5DD065

Accessibility & contrast

On white

4.35
#288B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#288B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B2F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B2F#FFFFFF#000000##000000
##288B2F1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#068778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b2f;
/* rgb */ color: rgb(40, 139, 47);
/* oklch */ color: oklch(56.0% 0.158 144.1);
Tailwind
colors: {
  custom: {
    50: '#71ae6c',
    500: '#288b2f',
    950: '#000000',
  },
}
SCSS
$custom: #288b2f;
$custom-light: #71ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#288b2f",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 124.242,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56046,
    "c": 0.1579,
    "h": 144.1
  },
  "luminance": 0.19122
}

Semantic roles & 50–950 ramp

primary
#288B2F
secondary
#B659AF
accent
#49D4DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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