#28631A#28631A

#28631A is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.4% C 0.122 H 140.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#28631A
RGBrgb(40, 99, 26)
HSLhsl(108, 58%, 25%)
HSVhsv(108, 74%, 39%)
CMYKcmyk(59.6%, 0%, 73.7%, 61.2%)
CIE-LABlab(36.83, -34.07, 34.17)
CIE-LCHlch(36.83, 48.26, 134.91°)
OKLaboklab(44.42% -0.0934 0.078)
OKLCHoklch(44.42% 0.122 140.1)
XYZxyz(5.5231, 9.4489, 2.5099)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28631A #551A63
analogous
#4D631A #28631A #1A6331
triadic
#28631A #1A2863 #631A28
tetradic
#28631A #1A4D63 #551A63 #63311A
square
#28631A #1A4D63 #551A63 #63311A
split-complementary
#28631A #311A63 #631A4D
monochromatic
#0A1806 #14330D #28631A #3C9327 #4FC433

Accessibility & contrast

On white

7.27
#28631A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28631A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28631A#FFFFFF#000000##FFFFFF
##28631A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0F
Deuteranopia (green-blind)
#5E5521
Tritanopia (blue-blind)
#216054
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #28631a;
/* rgb */ color: rgb(40, 99, 26);
/* oklch */ color: oklch(44.4% 0.122 140.1);
Tailwind
colors: {
  custom: {
    50: '#69905b',
    500: '#28631a',
    950: '#000000',
  },
}
SCSS
$custom: #28631a;
$custom-light: #69905b;
$custom-dark: #000000;
JSON
{
  "hex": "#28631a",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 26
  },
  "hsl": {
    "h": 108.493,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.44415,
    "c": 0.12171,
    "h": 140.1
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#28631A
secondary
#884099
accent
#46E2C4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #28631A

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

Preview Lab → · Contrast checker → · Palette generator →

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