#28623D#28623D

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

Color values

HEX#28623D
RGBrgb(40, 98, 61)
HSLhsl(142, 42%, 27%)
HSVhsv(142, 59%, 38%)
CMYKcmyk(59.2%, 0%, 37.8%, 61.6%)
CIE-LABlab(36.97, -28.31, 15.52)
CIE-LCHlch(36.97, 32.28, 151.28°)
OKLaboklab(44.69% -0.0769 0.0389)
OKLCHoklch(44.69% 0.086 153.1)
XYZxyz(6.0846, 9.5229, 5.9314)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28623D #62284D
analogous
#306228 #28623D #28625A
triadic
#28623D #3D2862 #623D28
tetradic
#28623D #283062 #62284D #625A28
square
#28623D #283062 #62284D #625A28
split-complementary
#28623D #5A2862 #622830
monochromatic
#09160E #163722 #28623D #3A8D58 #4EB774

Accessibility & contrast

On white

7.23
#28623D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28623D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28623D#FFFFFF#000000##FFFFFF
##28623D1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A3B
Deuteranopia (green-blind)
#5A553F
Tritanopia (blue-blind)
#186158
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #28623d;
/* rgb */ color: rgb(40, 98, 61);
/* oklch */ color: oklch(44.7% 0.086 153.1);
Tailwind
colors: {
  custom: {
    50: '#688f72',
    500: '#28623d',
    950: '#000000',
  },
}
SCSS
$custom: #28623d;
$custom-light: #688f72;
$custom-dark: #000000;
JSON
{
  "hex": "#28623d",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 61
  },
  "hsl": {
    "h": 141.724,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44686,
    "c": 0.08617,
    "h": 153.1
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#28623D
secondary
#95517C
accent
#56A5D2
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #28623D

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

Preview Lab → · Contrast checker → · Palette generator →

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