#288045#288045

#288045 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.3% C 0.123 H 150.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#288045
RGBrgb(40, 128, 69)
HSLhsl(140, 52%, 33%)
HSVhsv(140, 69%, 50%)
CMYKcmyk(68.8%, 0%, 46.1%, 49.8%)
CIE-LABlab(47.39, -39.83, 24.59)
CIE-LCHlch(47.39, 46.81, 148.30°)
OKLaboklab(53.29% -0.1074 0.0605)
OKLCHoklch(53.29% 0.123 150.6)
XYZxyz(9.6677, 16.3181, 8.2693)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288045 #802863
analogous
#378028 #288045 #288071
triadic
#288045 #452880 #804528
tetradic
#288045 #283780 #802863 #807128
square
#288045 #283780 #802863 #807128
split-complementary
#288045 #712880 #802837
monochromatic
#0B2313 #19512C #288045 #37AF5E #58CB7E

Accessibility & contrast

On white

4.93
#288045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#288045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288045
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288045#FFFFFF#000000##FFFFFF
##2880451.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817541
Deuteranopia (green-blind)
#766D49
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #288045;
/* rgb */ color: rgb(40, 128, 69);
/* oklch */ color: oklch(53.3% 0.123 150.6);
Tailwind
colors: {
  custom: {
    50: '#6da679',
    500: '#288045',
    950: '#000000',
  },
}
SCSS
$custom: #288045;
$custom-light: #6da679;
$custom-dark: #000000;
JSON
{
  "hex": "#288045",
  "rgb": {
    "r": 40,
    "g": 128,
    "b": 69
  },
  "hsl": {
    "h": 139.773,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53294,
    "c": 0.12327,
    "h": 150.6
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

primary
#288045
secondary
#B05492
accent
#4CACDC
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #288045

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

Preview Lab → · Contrast checker → · Palette generator →

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