#288530#288530

#288530 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.149 H 144.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#288530
RGBrgb(40, 133, 48)
HSLhsl(125, 54%, 34%)
HSVhsv(125, 70%, 52%)
CMYKcmyk(69.9%, 0%, 63.9%, 47.8%)
CIE-LABlab(48.81, -44.92, 37.16)
CIE-LCHlch(48.81, 58.30, 140.40°)
OKLaboklab(54.38% -0.1216 0.0869)
OKLCHoklch(54.38% 0.149 144.4)
XYZxyz(9.7955, 17.4385, 5.6455)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288530 #85287D
analogous
#4F8528 #288530 #28855F
triadic
#288530 #302885 #853028
tetradic
#288530 #284F85 #85287D #855F28
square
#288530 #284F85 #85287D #855F28
split-complementary
#288530 #5F2885 #85284F
monochromatic
#0C270E #1A561F #288530 #36B441 #5ACD64

Accessibility & contrast

On white

4.68
#288530 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#288530 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288530
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288530#FFFFFF#000000##FFFFFF
##2885301.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877926
Deuteranopia (green-blind)
#7C7137
Tritanopia (blue-blind)
#0B8173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #288530;
/* rgb */ color: rgb(40, 133, 48);
/* oklch */ color: oklch(54.4% 0.149 144.4);
Tailwind
colors: {
  custom: {
    50: '#6fa96c',
    500: '#288530',
    950: '#000000',
  },
}
SCSS
$custom: #288530;
$custom-light: #6fa96c;
$custom-dark: #000000;
JSON
{
  "hex": "#288530",
  "rgb": {
    "r": 40,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 125.161,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54377,
    "c": 0.14946,
    "h": 144.4
  },
  "luminance": 0.1744
}

Semantic roles & 50–950 ramp

primary
#288530
secondary
#B356AB
accent
#4BD1DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #288530

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

Preview Lab → · Contrast checker → · Palette generator →

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