#287330#287330

#287330 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.125 H 145.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#287330
RGBrgb(40, 115, 48)
HSLhsl(126, 48%, 30%)
HSVhsv(126, 65%, 45%)
CMYKcmyk(65.2%, 0%, 58.3%, 54.9%)
CIE-LABlab(42.65, -37.97, 30.01)
CIE-LCHlch(42.65, 48.40, 141.68°)
OKLaboklab(49.29% -0.1028 0.0715)
OKLCHoklch(49.29% 0.125 145.2)
XYZxyz(7.5388, 12.9252, 4.8933)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287330 #73286B
analogous
#457328 #287330 #287355
triadic
#287330 #302873 #733028
tetradic
#287330 #284573 #73286B #735528
square
#287330 #284573 #73286B #735528
split-complementary
#287330 #552873 #732845
monochromatic
#08180A #18461D #287330 #38A043 #52C35E

Accessibility & contrast

On white

5.86
#287330 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#287330 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287330
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287330#FFFFFF#000000##FFFFFF
##2873301.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692A
Deuteranopia (green-blind)
#6C6235
Tritanopia (blue-blind)
#167064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287330;
/* rgb */ color: rgb(40, 115, 48);
/* oklch */ color: oklch(49.3% 0.125 145.2);
Tailwind
colors: {
  custom: {
    50: '#6b9c6a',
    500: '#287330',
    950: '#000000',
  },
}
SCSS
$custom: #287330;
$custom-light: #6b9c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#287330",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 48
  },
  "hsl": {
    "h": 126.4,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49287,
    "c": 0.12521,
    "h": 145.2
  },
  "luminance": 0.12926
}

Semantic roles & 50–950 ramp

primary
#287330
secondary
#A5529C
accent
#50C9D8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #287330

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

Preview Lab → · Contrast checker → · Palette generator →

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