#288B30#288B30

#288B30 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.157 H 144.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#288B30
RGBrgb(40, 139, 48)
HSLhsl(125, 55%, 35%)
HSVhsv(125, 71%, 55%)
CMYKcmyk(71.2%, 0%, 65.5%, 45.5%)
CIE-LABlab(50.84, -47.11, 39.44)
CIE-LCHlch(50.84, 61.44, 140.07°)
OKLaboklab(56.06% -0.1275 0.0918)
OKLCHoklch(56.06% 0.157 144.3)
XYZxyz(10.6405, 19.1286, 5.9272)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288B30 #8B2883
analogous
#528B28 #288B30 #288B61
triadic
#288B30 #30288B #8B3028
tetradic
#288B30 #28528B #8B2883 #8B6128
square
#288B30 #28528B #8B2883 #8B6128
split-complementary
#288B30 #61288B #8B2852
monochromatic
#0D2C0F #1A5B20 #288B30 #36BB40 #5DD066

Accessibility & contrast

On white

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

On black

4.83
#288B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288B30
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288B30#FFFFFF#000000##000000
##288B301.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E25
Deuteranopia (green-blind)
#827638
Tritanopia (blue-blind)
#058778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #288b30;
/* rgb */ color: rgb(40, 139, 48);
/* oklch */ color: oklch(56.1% 0.157 144.3);
Tailwind
colors: {
  custom: {
    50: '#71ae6c',
    500: '#288b30',
    950: '#000000',
  },
}
SCSS
$custom: #288b30;
$custom-light: #71ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#288b30",
  "rgb": {
    "r": 40,
    "g": 139,
    "b": 48
  },
  "hsl": {
    "h": 124.848,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.15712,
    "h": 144.3
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#288B30
secondary
#B659AE
accent
#49D3DF
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #288B30

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

Preview Lab → · Contrast checker → · Palette generator →

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