#28623E#28623E

#28623E is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.7% C 0.085 H 153.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#28623E
RGBrgb(40, 98, 62)
HSLhsl(143, 42%, 27%)
HSVhsv(143, 59%, 38%)
CMYKcmyk(59.2%, 0%, 36.7%, 61.6%)
CIE-LABlab(36.99, -28.10, 14.94)
CIE-LCHlch(36.99, 31.83, 151.99°)
OKLaboklab(44.71% -0.0764 0.0376)
OKLCHoklch(44.71% 0.085 153.8)
XYZxyz(6.1118, 9.5337, 6.0746)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28623E #62284C
analogous
#2F6228 #28623E #28625B
triadic
#28623E #3E2862 #623E28
tetradic
#28623E #282F62 #62284C #625B28
square
#28623E #282F62 #62284C #625B28
split-complementary
#28623E #5B2862 #62282F
monochromatic
#09160E #163723 #28623E #3A8D59 #4EB776

Accessibility & contrast

On white

7.22
#28623E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#28623E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28623E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28623E#FFFFFF#000000##FFFFFF
##28623E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A3C
Deuteranopia (green-blind)
#5A5540
Tritanopia (blue-blind)
#176159
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #28623e;
/* rgb */ color: rgb(40, 98, 62);
/* oklch */ color: oklch(44.7% 0.085 153.8);
Tailwind
colors: {
  custom: {
    50: '#688f73',
    500: '#28623e',
    950: '#000000',
  },
}
SCSS
$custom: #28623e;
$custom-light: #688f73;
$custom-dark: #000000;
JSON
{
  "hex": "#28623e",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 62
  },
  "hsl": {
    "h": 142.759,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44709,
    "c": 0.0851,
    "h": 153.8
  },
  "luminance": 0.09534
}

Semantic roles & 50–950 ramp

primary
#28623E
secondary
#95517B
accent
#56A3D2
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #28623E

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

Preview Lab → · Contrast checker → · Palette generator →

#28623E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva