#28631B#28631B

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

Color values

HEX#28631B
RGBrgb(40, 99, 27)
HSLhsl(109, 57%, 25%)
HSVhsv(109, 73%, 39%)
CMYKcmyk(59.6%, 0%, 72.7%, 61.2%)
CIE-LABlab(36.84, -33.97, 33.74)
CIE-LCHlch(36.84, 47.88, 135.20°)
OKLaboklab(44.43% -0.0931 0.0772)
OKLCHoklch(44.43% 0.121 140.3)
XYZxyz(5.5345, 9.4535, 2.5697)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28631B #561B63
analogous
#4C631B #28631B #1B6332
triadic
#28631B #1B2863 #631B28
tetradic
#28631B #1B4C63 #561B63 #63321B
square
#28631B #1B4C63 #561B63 #63321B
split-complementary
#28631B #321B63 #631B4C
monochromatic
#0A1807 #15330E #28631B #3B9328 #4FC335

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28631B#FFFFFF#000000##FFFFFF
##28631B1.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)
#665A11
Deuteranopia (green-blind)
#5E5522
Tritanopia (blue-blind)
#216054
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #28631b;
/* rgb */ color: rgb(40, 99, 27);
/* oklch */ color: oklch(44.4% 0.121 140.3);
Tailwind
colors: {
  custom: {
    50: '#69905c',
    500: '#28631b',
    950: '#000000',
  },
}
SCSS
$custom: #28631b;
$custom-light: #69905c;
$custom-dark: #000000;
JSON
{
  "hex": "#28631b",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 109.167,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.12096,
    "h": 140.3
  },
  "luminance": 0.09454
}

Semantic roles & 50–950 ramp

primary
#28631B
secondary
#894198
accent
#47E0C5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #28631B

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

Preview Lab → · Contrast checker → · Palette generator →

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