#28661B#28661B

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

Color values

HEX#28661B
RGBrgb(40, 102, 27)
HSLhsl(110, 58%, 25%)
HSVhsv(110, 74%, 40%)
CMYKcmyk(60.8%, 0%, 73.5%, 60%)
CIE-LABlab(37.90, -35.21, 34.85)
CIE-LCHlch(37.90, 49.54, 135.29°)
OKLaboklab(45.3% -0.0964 0.0796)
OKLCHoklch(45.3% 0.125 140.5)
XYZxyz(5.8240, 10.0325, 2.6663)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28661B #591B66
analogous
#4D661B #28661B #1B6633
triadic
#28661B #1B2866 #661B28
tetradic
#28661B #1B4D66 #591B66 #66331B
square
#28661B #1B4D66 #591B66 #66331B
split-complementary
#28661B #331B66 #661B4D
monochromatic
#091806 #15360E #28661B #3B9628 #4EC735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28661B#FFFFFF#000000##FFFFFF
##28661B1.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)
#695C10
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#206357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #28661b;
/* rgb */ color: rgb(40, 102, 27);
/* oklch */ color: oklch(45.3% 0.125 140.5);
Tailwind
colors: {
  custom: {
    50: '#6a925c',
    500: '#28661b',
    950: '#000000',
  },
}
SCSS
$custom: #28661b;
$custom-light: #6a925c;
$custom-dark: #000000;
JSON
{
  "hex": "#28661b",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 109.6,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45297,
    "c": 0.12503,
    "h": 140.5
  },
  "luminance": 0.10033
}

Semantic roles & 50–950 ramp

primary
#28661B
secondary
#8C419B
accent
#46E1C7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28661B

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

Preview Lab → · Contrast checker → · Palette generator →

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