#288245#288245

#288245 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.126 H 150.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#288245
RGBrgb(40, 130, 69)
HSLhsl(139, 53%, 33%)
HSVhsv(139, 69%, 51%)
CMYKcmyk(69.2%, 0%, 46.9%, 49%)
CIE-LABlab(48.06, -40.64, 25.46)
CIE-LCHlch(48.06, 47.96, 147.93°)
OKLaboklab(53.85% -0.1095 0.0625)
OKLCHoklch(53.85% 0.126 150.3)
XYZxyz(9.9311, 16.8450, 8.3571)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288245 #822865
analogous
#388228 #288245 #288272
triadic
#288245 #452882 #824528
tetradic
#288245 #283882 #822865 #827228
square
#288245 #283882 #822865 #827228
split-complementary
#288245 #722882 #822838
monochromatic
#0B2413 #1A532C #288245 #36B15E #59CC7E

Accessibility & contrast

On white

4.81
#288245 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#288245 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288245
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288245#FFFFFF#000000##FFFFFF
##2882451.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837740
Deuteranopia (green-blind)
#786F49
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288245;
/* rgb */ color: rgb(40, 130, 69);
/* oklch */ color: oklch(53.8% 0.126 150.3);
Tailwind
colors: {
  custom: {
    50: '#6ea779',
    500: '#288245',
    950: '#000000',
  },
}
SCSS
$custom: #288245;
$custom-light: #6ea779;
$custom-dark: #000000;
JSON
{
  "hex": "#288245",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 69
  },
  "hsl": {
    "h": 139.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.12611,
    "h": 150.3
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#288245
secondary
#B15593
accent
#4BAEDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #288245

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

Preview Lab → · Contrast checker → · Palette generator →

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