#287510#287510

#287510 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.150 H 139.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#287510
RGBrgb(40, 117, 16)
HSLhsl(106, 76%, 26%)
HSVhsv(106, 86%, 46%)
CMYKcmyk(65.8%, 0%, 86.3%, 54.1%)
CIE-LABlab(43.08, -41.83, 43.87)
CIE-LCHlch(43.08, 60.62, 133.63°)
OKLaboklab(49.56% -0.1149 0.0968)
OKLCHoklch(49.56% 0.15 139.9)
XYZxyz(7.3296, 13.2104, 2.6537)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287510 #5D1075
analogous
#5A7510 #287510 #10752A
triadic
#287510 #102875 #751028
tetradic
#287510 #105A75 #5D1075 #752A10
square
#287510 #105A75 #5D1075 #752A10
split-complementary
#287510 #2A1075 #75105A
monochromatic
#091B04 #163F09 #287510 #3AAB17 #4DE01F

Accessibility & contrast

On white

5.77
#287510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#287510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287510
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287510#FFFFFF#000000##FFFFFF
##2875101.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#1D7163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #287510;
/* rgb */ color: rgb(40, 117, 16);
/* oklch */ color: oklch(49.6% 0.150 139.9);
Tailwind
colors: {
  custom: {
    50: '#6e9e59',
    500: '#287510',
    950: '#000000',
  },
}
SCSS
$custom: #287510;
$custom-light: #6e9e59;
$custom-dark: #000000;
JSON
{
  "hex": "#287510",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 16
  },
  "hsl": {
    "h": 105.743,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49557,
    "c": 0.15024,
    "h": 139.9
  },
  "luminance": 0.13211
}

Semantic roles & 50–950 ramp

primary
#287510
secondary
#9035AC
accent
#35F3C6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #287510

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

Preview Lab → · Contrast checker → · Palette generator →

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