#28623A#28623A

#28623A is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.089 H 151.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#28623A
RGBrgb(40, 98, 58)
HSLhsl(139, 42%, 27%)
HSVhsv(139, 59%, 38%)
CMYKcmyk(59.2%, 0%, 40.8%, 61.6%)
CIE-LABlab(36.91, -28.92, 17.22)
CIE-LCHlch(36.91, 33.66, 149.23°)
OKLaboklab(44.62% -0.0784 0.0429)
OKLCHoklch(44.62% 0.089 151.3)
XYZxyz(6.0060, 9.4914, 5.5177)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28623A #622850
analogous
#336228 #28623A #286257
triadic
#28623A #3A2862 #623A28
tetradic
#28623A #283362 #622850 #625728
square
#28623A #283362 #622850 #625728
split-complementary
#28623A #572862 #622833
monochromatic
#09160D #163720 #28623A #3A8D54 #4EB76E

Accessibility & contrast

On white

7.25
#28623A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#28623A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28623A
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28623A#FFFFFF#000000##FFFFFF
##28623A1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A37
Deuteranopia (green-blind)
#5A553D
Tritanopia (blue-blind)
#196158
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #28623a;
/* rgb */ color: rgb(40, 98, 58);
/* oklch */ color: oklch(44.6% 0.089 151.3);
Tailwind
colors: {
  custom: {
    50: '#688f70',
    500: '#28623a',
    950: '#000000',
  },
}
SCSS
$custom: #28623a;
$custom-light: #688f70;
$custom-dark: #000000;
JSON
{
  "hex": "#28623a",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 58
  },
  "hsl": {
    "h": 138.621,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44619,
    "c": 0.08939,
    "h": 151.3
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#28623A
secondary
#955180
accent
#56ABD2
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #28623A

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

Preview Lab → · Contrast checker → · Palette generator →

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