#28661D#28661D

#28661D is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.3% C 0.124 H 140.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#28661D
RGBrgb(40, 102, 29)
HSLhsl(111, 56%, 26%)
HSVhsv(111, 72%, 40%)
CMYKcmyk(60.8%, 0%, 71.6%, 60%)
CIE-LABlab(37.92, -35.02, 33.98)
CIE-LCHlch(37.92, 48.79, 135.86°)
OKLaboklab(45.32% -0.0958 0.078)
OKLCHoklch(45.32% 0.124 140.8)
XYZxyz(5.8479, 10.0421, 2.7923)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28661D #5B1D66
analogous
#4C661D #28661D #1D6636
triadic
#28661D #1D2866 #661D28
tetradic
#28661D #1D4C66 #5B1D66 #66361D
square
#28661D #1D4C66 #5B1D66 #66361D
split-complementary
#28661D #361D66 #661D4C
monochromatic
#091807 #15360F #28661D #3B962B #4DC538

Accessibility & contrast

On white

6.98
#28661D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#28661D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28661D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28661D#FFFFFF#000000##FFFFFF
##28661D1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C13
Deuteranopia (green-blind)
#615724
Tritanopia (blue-blind)
#206357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #28661d;
/* rgb */ color: rgb(40, 102, 29);
/* oklch */ color: oklch(45.3% 0.124 140.8);
Tailwind
colors: {
  custom: {
    50: '#6a925d',
    500: '#28661d',
    950: '#000000',
  },
}
SCSS
$custom: #28661d;
$custom-light: #6a925d;
$custom-dark: #000000;
JSON
{
  "hex": "#28661d",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 110.959,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45317,
    "c": 0.12353,
    "h": 140.8
  },
  "luminance": 0.10043
}

Semantic roles & 50–950 ramp

primary
#28661D
secondary
#8E449B
accent
#49DFC8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28661D

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

Preview Lab → · Contrast checker → · Palette generator →

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