#28631D#28631D

#28631D is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.4% C 0.119 H 140.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#28631D
RGBrgb(40, 99, 29)
HSLhsl(111, 55%, 25%)
HSVhsv(111, 71%, 39%)
CMYKcmyk(59.6%, 0%, 70.7%, 61.2%)
CIE-LABlab(36.86, -33.77, 32.85)
CIE-LCHlch(36.86, 47.11, 135.79°)
OKLaboklab(44.45% -0.0924 0.0756)
OKLCHoklch(44.45% 0.119 140.7)
XYZxyz(5.5584, 9.4630, 2.6958)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28631D #581D63
analogous
#4B631D #28631D #1D6335
triadic
#28631D #1D2863 #631D28
tetradic
#28631D #1D4B63 #581D63 #63351D
square
#28631D #1D4B63 #581D63 #63351D
split-complementary
#28631D #351D63 #631D4B
monochromatic
#0A1807 #15340F #28631D #3B922B #4EC239

Accessibility & contrast

On white

7.26
#28631D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#28631D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28631D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28631D#FFFFFF#000000##FFFFFF
##28631D1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A14
Deuteranopia (green-blind)
#5E5523
Tritanopia (blue-blind)
#216055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #28631d;
/* rgb */ color: rgb(40, 99, 29);
/* oklch */ color: oklch(44.4% 0.119 140.7);
Tailwind
colors: {
  custom: {
    50: '#69905d',
    500: '#28631d',
    950: '#000000',
  },
}
SCSS
$custom: #28631d;
$custom-light: #69905d;
$custom-dark: #000000;
JSON
{
  "hex": "#28631d",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 29
  },
  "hsl": {
    "h": 110.571,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.44445,
    "c": 0.11942,
    "h": 140.7
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#28631D
secondary
#8B4498
accent
#4ADEC7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #28631D

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

Preview Lab → · Contrast checker → · Palette generator →

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