#28631C#28631C

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

Color values

HEX#28631C
RGBrgb(40, 99, 28)
HSLhsl(110, 56%, 25%)
HSVhsv(110, 72%, 39%)
CMYKcmyk(59.6%, 0%, 71.7%, 61.2%)
CIE-LABlab(36.85, -33.87, 33.30)
CIE-LCHlch(36.85, 47.50, 135.49°)
OKLaboklab(44.44% -0.0928 0.0764)
OKLCHoklch(44.44% 0.12 140.5)
XYZxyz(5.5463, 9.4582, 2.6317)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28631C #571C63
analogous
#4C631C #28631C #1C6333
triadic
#28631C #1C2863 #631C28
tetradic
#28631C #1C4C63 #571C63 #63331C
square
#28631C #1C4C63 #571C63 #63331C
split-complementary
#28631C #331C63 #631C4C
monochromatic
#0A1807 #15330F #28631C #3B9329 #4FC237

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28631C#FFFFFF#000000##FFFFFF
##28631C1.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)
#665A12
Deuteranopia (green-blind)
#5E5522
Tritanopia (blue-blind)
#216055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #28631c;
/* rgb */ color: rgb(40, 99, 28);
/* oklch */ color: oklch(44.4% 0.120 140.5);
Tailwind
colors: {
  custom: {
    50: '#69905c',
    500: '#28631c',
    950: '#000000',
  },
}
SCSS
$custom: #28631c;
$custom-light: #69905c;
$custom-dark: #000000;
JSON
{
  "hex": "#28631c",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 28
  },
  "hsl": {
    "h": 109.859,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.1202,
    "h": 140.5
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#28631C
secondary
#8A4398
accent
#49DFC6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #28631C

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

Preview Lab → · Contrast checker → · Palette generator →

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