#288251#288251

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

Color values

HEX#288251
RGBrgb(40, 130, 81)
HSLhsl(147, 53%, 33%)
HSVhsv(147, 69%, 51%)
CMYKcmyk(69.2%, 0%, 37.7%, 49%)
CIE-LABlab(48.27, -38.33, 19.04)
CIE-LCHlch(48.27, 42.80, 153.59°)
OKLaboklab(54.09% -0.1037 0.0477)
OKLCHoklch(54.09% 0.114 155.3)
XYZxyz(10.3420, 17.0093, 10.5211)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288251 #822859
analogous
#2C8228 #288251 #28827E
triadic
#288251 #512882 #825128
tetradic
#288251 #282C82 #822859 #827E28
square
#288251 #282C82 #822859 #827E28
split-complementary
#288251 #7E2882 #82282C
monochromatic
#0B2417 #1A5334 #288251 #36B16E #59CC8D

Accessibility & contrast

On white

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

On black

4.40
#288251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##288251#FFFFFF#000000##FFFFFF
##2882511.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774E
Deuteranopia (green-blind)
#766F54
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #288251;
/* rgb */ color: rgb(40, 130, 81);
/* oklch */ color: oklch(54.1% 0.114 155.3);
Tailwind
colors: {
  custom: {
    50: '#6ea782',
    500: '#288251',
    950: '#000000',
  },
}
SCSS
$custom: #288251;
$custom-light: #6ea782;
$custom-dark: #000000;
JSON
{
  "hex": "#288251",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 81
  },
  "hsl": {
    "h": 147.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54089,
    "c": 0.1142,
    "h": 155.3
  },
  "luminance": 0.1701
}

Semantic roles & 50–950 ramp

primary
#288251
secondary
#B15587
accent
#4B9ADC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #288251

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

Preview Lab → · Contrast checker → · Palette generator →

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