#287030#287030

#287030 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.121 H 145.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#287030
RGBrgb(40, 112, 48)
HSLhsl(127, 47%, 30%)
HSVhsv(127, 64%, 44%)
CMYKcmyk(64.3%, 0%, 57.1%, 56.1%)
CIE-LABlab(41.61, -36.75, 28.78)
CIE-LCHlch(41.61, 46.68, 141.94°)
OKLaboklab(48.43% -0.0995 0.0688)
OKLCHoklch(48.43% 0.121 145.3)
XYZxyz(7.2023, 12.2522, 4.7811)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287030 #702868
analogous
#447028 #287030 #287054
triadic
#287030 #302870 #703028
tetradic
#287030 #284470 #702868 #705428
square
#287030 #284470 #702868 #705428
split-complementary
#287030 #542870 #702844
monochromatic
#08170A #18431D #287030 #389D43 #51C15E

Accessibility & contrast

On white

6.09
#287030 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#287030 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287030
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287030#FFFFFF#000000##FFFFFF
##2870301.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662A
Deuteranopia (green-blind)
#696035
Tritanopia (blue-blind)
#186D62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #287030;
/* rgb */ color: rgb(40, 112, 48);
/* oklch */ color: oklch(48.4% 0.121 145.3);
Tailwind
colors: {
  custom: {
    50: '#6b9a6a',
    500: '#287030',
    950: '#000000',
  },
}
SCSS
$custom: #287030;
$custom-light: #6b9a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#287030",
  "rgb": {
    "r": 40,
    "g": 112,
    "b": 48
  },
  "hsl": {
    "h": 126.667,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48433,
    "c": 0.12094,
    "h": 145.3
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#287030
secondary
#A25199
accent
#51C8D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #287030

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

Preview Lab → · Contrast checker → · Palette generator →

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