#288151#288151

#288151 is a mid, moderate green. Relative luminance 0.167; OKLCH L 53.8% C 0.113 H 155.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#288151
RGBrgb(40, 129, 81)
HSLhsl(148, 53%, 33%)
HSVhsv(148, 69%, 51%)
CMYKcmyk(69%, 0%, 37.2%, 49.4%)
CIE-LABlab(47.94, -37.91, 18.59)
CIE-LCHlch(47.94, 42.22, 153.88°)
OKLaboklab(53.81% -0.1027 0.0466)
OKLCHoklch(53.81% 0.113 155.6)
XYZxyz(10.2096, 16.7446, 10.4770)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288151 #812858
analogous
#2C8128 #288151 #28817D
triadic
#288151 #512881 #815128
tetradic
#288151 #282C81 #812858 #817D28
square
#288151 #282C81 #812858 #817D28
split-complementary
#288151 #7D2881 #81282C
monochromatic
#0B2416 #1A5234 #288151 #36B06E #58CB8D

Accessibility & contrast

On white

4.83
#288151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#288151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #288151
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288151#FFFFFF#000000##FFFFFF
##2881511.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80774E
Deuteranopia (green-blind)
#756F54
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #288151;
/* rgb */ color: rgb(40, 129, 81);
/* oklch */ color: oklch(53.8% 0.113 155.6);
Tailwind
colors: {
  custom: {
    50: '#6ea682',
    500: '#288151',
    950: '#000000',
  },
}
SCSS
$custom: #288151;
$custom-light: #6ea682;
$custom-dark: #000000;
JSON
{
  "hex": "#288151",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 147.64,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53813,
    "c": 0.11276,
    "h": 155.6
  },
  "luminance": 0.16746
}

Semantic roles & 50–950 ramp

primary
#288151
secondary
#B05486
accent
#4C9ADC
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #288151

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

Preview Lab → · Contrast checker → · Palette generator →

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