#28631E#28631E

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

Color values

HEX#28631E
RGBrgb(40, 99, 30)
HSLhsl(111, 53%, 25%)
HSVhsv(111, 70%, 39%)
CMYKcmyk(59.6%, 0%, 69.7%, 61.2%)
CIE-LABlab(36.87, -33.67, 32.39)
CIE-LCHlch(36.87, 46.72, 136.11°)
OKLaboklab(44.46% -0.0921 0.0748)
OKLCHoklch(44.46% 0.119 140.9)
XYZxyz(5.5710, 9.4681, 2.7620)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28631E #591E63
analogous
#4A631E #28631E #1E6336
triadic
#28631E #1E2863 #631E28
tetradic
#28631E #1E4A63 #591E63 #63361E
square
#28631E #1E4A63 #591E63 #63361E
split-complementary
#28631E #361E63 #631E4A
monochromatic
#091707 #153410 #28631E #3B922C #4EC13A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28631E#FFFFFF#000000##FFFFFF
##28631E1.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)
#665A15
Deuteranopia (green-blind)
#5E5524
Tritanopia (blue-blind)
#206055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #28631e;
/* rgb */ color: rgb(40, 99, 30);
/* oklch */ color: oklch(44.5% 0.119 140.9);
Tailwind
colors: {
  custom: {
    50: '#69905d',
    500: '#28631e',
    950: '#000000',
  },
}
SCSS
$custom: #28631e;
$custom-light: #69905d;
$custom-dark: #000000;
JSON
{
  "hex": "#28631e",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 30
  },
  "hsl": {
    "h": 111.304,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.11861,
    "h": 140.9
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#28631E
secondary
#8C4598
accent
#4BDDC8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #28631E

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

Preview Lab → · Contrast checker → · Palette generator →

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