#28661F#28661F

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

Color values

HEX#28661F
RGBrgb(40, 102, 31)
HSLhsl(112, 53%, 26%)
HSVhsv(112, 70%, 40%)
CMYKcmyk(60.8%, 0%, 69.6%, 60%)
CIE-LABlab(37.94, -34.81, 33.08)
CIE-LCHlch(37.94, 48.02, 136.45°)
OKLaboklab(45.34% -0.0951 0.0764)
OKLCHoklch(45.34% 0.122 141.2)
XYZxyz(5.8735, 10.0523, 2.9268)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28661F #5D1F66
analogous
#4B661F #28661F #1F6639
triadic
#28661F #1F2866 #661F28
tetradic
#28661F #1F4B66 #5D1F66 #66391F
square
#28661F #1F4B66 #5D1F66 #66391F
split-complementary
#28661F #391F66 #661F4B
monochromatic
#091707 #163711 #28661F #3A952D #4DC43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28661F#FFFFFF#000000##FFFFFF
##28661F1.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)
#695D16
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#1F6357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #28661f;
/* rgb */ color: rgb(40, 102, 31);
/* oklch */ color: oklch(45.3% 0.122 141.2);
Tailwind
colors: {
  custom: {
    50: '#6a925e',
    500: '#28661f',
    950: '#000000',
  },
}
SCSS
$custom: #28661f;
$custom-light: #6a925e;
$custom-dark: #000000;
JSON
{
  "hex": "#28661f",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 112.394,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45338,
    "c": 0.12196,
    "h": 141.2
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#28661F
secondary
#90469A
accent
#4BDDCA
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28661F

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

Preview Lab → · Contrast checker → · Palette generator →

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