#28661E#28661E

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

Color values

HEX#28661E
RGBrgb(40, 102, 30)
HSLhsl(112, 55%, 26%)
HSVhsv(112, 71%, 40%)
CMYKcmyk(60.8%, 0%, 70.6%, 60%)
CIE-LABlab(37.93, -34.91, 33.54)
CIE-LCHlch(37.93, 48.41, 136.15°)
OKLaboklab(45.33% -0.0954 0.0772)
OKLCHoklch(45.33% 0.123 141)
XYZxyz(5.8605, 10.0471, 2.8585)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28661E #5C1E66
analogous
#4C661E #28661E #1E6638
triadic
#28661E #1E2866 #661E28
tetradic
#28661E #1E4C66 #5C1E66 #66381E
square
#28661E #1E4C66 #5C1E66 #66381E
split-complementary
#28661E #381E66 #661E4C
monochromatic
#091807 #153710 #28661E #3B952C #4DC53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28661E#FFFFFF#000000##FFFFFF
##28661E1.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)
#695C14
Deuteranopia (green-blind)
#615724
Tritanopia (blue-blind)
#206357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #28661e;
/* rgb */ color: rgb(40, 102, 30);
/* oklch */ color: oklch(45.3% 0.123 141.0);
Tailwind
colors: {
  custom: {
    50: '#6a925e',
    500: '#28661e',
    950: '#000000',
  },
}
SCSS
$custom: #28661e;
$custom-light: #6a925e;
$custom-dark: #000000;
JSON
{
  "hex": "#28661e",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 111.667,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45327,
    "c": 0.12276,
    "h": 141
  },
  "luminance": 0.10048
}

Semantic roles & 50–950 ramp

primary
#28661E
secondary
#8F459B
accent
#4ADEC9
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28661E

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

Preview Lab → · Contrast checker → · Palette generator →

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