#288252#288252

#288252 is a mid, moderate green. Relative luminance 0.170; OKLCH L 54.1% C 0.113 H 155.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#288252
RGBrgb(40, 130, 82)
HSLhsl(148, 53%, 33%)
HSVhsv(148, 69%, 51%)
CMYKcmyk(69.2%, 0%, 36.9%, 49%)
CIE-LABlab(48.29, -38.12, 18.50)
CIE-LCHlch(48.29, 42.37, 154.12°)
OKLaboklab(54.11% -0.1033 0.0464)
OKLCHoklch(54.11% 0.113 155.8)
XYZxyz(10.3798, 17.0245, 10.7200)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288252 #822858
analogous
#2B8228 #288252 #28827F
triadic
#288252 #522882 #825228
tetradic
#288252 #282B82 #822858 #827F28
square
#288252 #282B82 #822858 #827F28
split-complementary
#288252 #7F2882 #82282B
monochromatic
#0B2417 #1A5334 #288252 #36B170 #59CC8E

Accessibility & contrast

On white

4.77
#288252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#288252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288252
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288252#FFFFFF#000000##FFFFFF
##2882521.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81784F
Deuteranopia (green-blind)
#766F55
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288252;
/* rgb */ color: rgb(40, 130, 82);
/* oklch */ color: oklch(54.1% 0.113 155.8);
Tailwind
colors: {
  custom: {
    50: '#6ea783',
    500: '#288252',
    950: '#000000',
  },
}
SCSS
$custom: #288252;
$custom-light: #6ea783;
$custom-dark: #000000;
JSON
{
  "hex": "#288252",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 148,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54111,
    "c": 0.11322,
    "h": 155.8
  },
  "luminance": 0.17026
}

Semantic roles & 50–950 ramp

primary
#288252
secondary
#B15586
accent
#4B99DC
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #288252

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

Preview Lab → · Contrast checker → · Palette generator →

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