#287148#287148

#287148 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.2% C 0.098 H 155.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#287148
RGBrgb(40, 113, 72)
HSLhsl(146, 48%, 30%)
HSVhsv(146, 65%, 44%)
CMYKcmyk(64.6%, 0%, 36.3%, 55.7%)
CIE-LABlab(42.35, -32.86, 16.26)
CIE-LCHlch(42.35, 36.66, 153.67°)
OKLaboklab(49.17% -0.0892 0.0409)
OKLCHoklch(49.17% 0.098 155.4)
XYZxyz(7.9492, 12.7285, 8.1675)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287148 #712851
analogous
#2D7128 #287148 #28716C
triadic
#287148 #482871 #714828
tetradic
#287148 #282D71 #712851 #716C28
square
#287148 #282D71 #712851 #716C28
split-complementary
#287148 #6C2871 #71282D
monochromatic
#08170E #18442B #287148 #389E65 #52C283

Accessibility & contrast

On white

5.92
#287148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#287148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287148
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287148#FFFFFF#000000##FFFFFF
##2871481.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716845
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#087066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287148;
/* rgb */ color: rgb(40, 113, 72);
/* oklch */ color: oklch(49.2% 0.098 155.4);
Tailwind
colors: {
  custom: {
    50: '#6a9a7b',
    500: '#287148',
    950: '#000000',
  },
}
SCSS
$custom: #287148;
$custom-light: #6a9a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#287148",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 72
  },
  "hsl": {
    "h": 146.301,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.49168,
    "c": 0.0981,
    "h": 155.4
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#287148
secondary
#A3527F
accent
#509CD7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #287148

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

Preview Lab → · Contrast checker → · Palette generator →

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