#287623#287623

#287623 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.140 H 142.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#287623
RGBrgb(40, 118, 35)
HSLhsl(116, 54%, 30%)
HSVhsv(116, 70%, 46%)
CMYKcmyk(66.1%, 0%, 70.3%, 53.7%)
CIE-LABlab(43.55, -40.74, 37.33)
CIE-LCHlch(43.55, 55.25, 137.50°)
OKLaboklab(49.99% -0.1109 0.0858)
OKLCHoklch(49.99% 0.14 142.3)
XYZxyz(7.6565, 13.5286, 3.7976)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287623 #712376
analogous
#517623 #287623 #237648
triadic
#287623 #232876 #762328
tetradic
#287623 #235176 #712376 #764823
square
#287623 #235176 #712376 #764823
split-complementary
#287623 #482376 #762351
monochromatic
#081807 #184715 #287623 #38A531 #52C94A

Accessibility & contrast

On white

5.67
#287623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#287623 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287623
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287623#FFFFFF#000000##FFFFFF
##2876231.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B18
Deuteranopia (green-blind)
#6F642B
Tritanopia (blue-blind)
#197265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287623;
/* rgb */ color: rgb(40, 118, 35);
/* oklch */ color: oklch(50.0% 0.140 142.3);
Tailwind
colors: {
  custom: {
    50: '#6d9e62',
    500: '#287623',
    950: '#000000',
  },
}
SCSS
$custom: #287623;
$custom-light: #6d9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#287623",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 35
  },
  "hsl": {
    "h": 116.386,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.14024,
    "h": 142.3
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#287623
secondary
#A34CA9
accent
#4ADED5
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #287623

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

Preview Lab → · Contrast checker → · Palette generator →

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