#287526#287526

#287526 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.137 H 142.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#287526
RGBrgb(40, 117, 38)
HSLhsl(118, 51%, 30%)
HSVhsv(118, 68%, 46%)
CMYKcmyk(65.8%, 0%, 67.5%, 54.1%)
CIE-LABlab(43.23, -40.03, 35.62)
CIE-LCHlch(43.23, 53.58, 138.34°)
OKLaboklab(49.73% -0.1088 0.0826)
OKLCHoklch(49.73% 0.137 142.8)
XYZxyz(7.5858, 13.3129, 4.0032)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287526 #732675
analogous
#4F7526 #287526 #26754B
triadic
#287526 #262875 #752628
tetradic
#287526 #264F75 #732675 #754B26
square
#287526 #264F75 #732675 #754B26
split-complementary
#287526 #4B2675 #75264F
monochromatic
#081908 #184717 #287526 #38A335 #52C64F

Accessibility & contrast

On white

5.73
#287526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#287526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287526
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287526#FFFFFF#000000##FFFFFF
##2875261.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A1C
Deuteranopia (green-blind)
#6E642D
Tritanopia (blue-blind)
#197265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #287526;
/* rgb */ color: rgb(40, 117, 38);
/* oklch */ color: oklch(49.7% 0.137 142.8);
Tailwind
colors: {
  custom: {
    50: '#6c9e64',
    500: '#287526',
    950: '#000000',
  },
}
SCSS
$custom: #287526;
$custom-light: #6c9e64;
$custom-dark: #000000;
JSON
{
  "hex": "#287526",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 118.481,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49731,
    "c": 0.13662,
    "h": 142.8
  },
  "luminance": 0.13314
}

Semantic roles & 50–950 ramp

primary
#287526
secondary
#A54FA7
accent
#4DDAD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #287526

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

Preview Lab → · Contrast checker → · Palette generator →

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