#287726#287726

#287726 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.139 H 142.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#287726
RGBrgb(40, 119, 38)
HSLhsl(119, 52%, 31%)
HSVhsv(119, 68%, 47%)
CMYKcmyk(66.4%, 0%, 68.1%, 53.3%)
CIE-LABlab(43.92, -40.80, 36.38)
CIE-LCHlch(43.92, 54.66, 138.28°)
OKLaboklab(50.3% -0.1109 0.0842)
OKLCHoklch(50.3% 0.139 142.8)
XYZxyz(7.8213, 13.7839, 4.0817)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287726 #752677
analogous
#507726 #287726 #26774C
triadic
#287726 #262877 #772628
tetradic
#287726 #265077 #752677 #774C26
square
#287726 #265077 #752677 #774C26
split-complementary
#287726 #4C2677 #772650
monochromatic
#091A08 #184917 #287726 #38A535 #53C750

Accessibility & contrast

On white

5.59
#287726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#287726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287726
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287726#FFFFFF#000000##FFFFFF
##2877261.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1C
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#187366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287726;
/* rgb */ color: rgb(40, 119, 38);
/* oklch */ color: oklch(50.3% 0.139 142.8);
Tailwind
colors: {
  custom: {
    50: '#6d9f64',
    500: '#287726',
    950: '#000000',
  },
}
SCSS
$custom: #287726;
$custom-light: #6d9f64;
$custom-dark: #000000;
JSON
{
  "hex": "#287726",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 38
  },
  "hsl": {
    "h": 118.519,
    "s": 51.592,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50302,
    "c": 0.13925,
    "h": 142.8
  },
  "luminance": 0.13785
}

Semantic roles & 50–950 ramp

primary
#287726
secondary
#A74FA9
accent
#4DDBD8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #287726

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

Preview Lab → · Contrast checker → · Palette generator →

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