#28661C#28661C

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

Color values

HEX#28661C
RGBrgb(40, 102, 28)
HSLhsl(110, 57%, 25%)
HSVhsv(110, 73%, 40%)
CMYKcmyk(60.8%, 0%, 72.5%, 60%)
CIE-LABlab(37.91, -35.11, 34.42)
CIE-LCHlch(37.91, 49.17, 135.57°)
OKLaboklab(45.31% -0.0961 0.0788)
OKLCHoklch(45.31% 0.124 140.7)
XYZxyz(5.8358, 10.0372, 2.7282)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28661C #5A1C66
analogous
#4D661C #28661C #1C6635
triadic
#28661C #1C2866 #661C28
tetradic
#28661C #1C4D66 #5A1C66 #66351C
square
#28661C #1C4D66 #5A1C66 #66351C
split-complementary
#28661C #351C66 #661C4D
monochromatic
#091807 #15360F #28661C #3B9629 #4EC636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28661C#FFFFFF#000000##FFFFFF
##28661C1.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)
#695C11
Deuteranopia (green-blind)
#615723
Tritanopia (blue-blind)
#206357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #28661c;
/* rgb */ color: rgb(40, 102, 28);
/* oklch */ color: oklch(45.3% 0.124 140.7);
Tailwind
colors: {
  custom: {
    50: '#6a925d',
    500: '#28661c',
    950: '#000000',
  },
}
SCSS
$custom: #28661c;
$custom-light: #6a925d;
$custom-dark: #000000;
JSON
{
  "hex": "#28661c",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 28
  },
  "hsl": {
    "h": 110.27,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45307,
    "c": 0.12429,
    "h": 140.7
  },
  "luminance": 0.10038
}

Semantic roles & 50–950 ramp

primary
#28661C
secondary
#8D439B
accent
#48E0C7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28661C

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

Preview Lab → · Contrast checker → · Palette generator →

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