#28691F#28691F

#28691F is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.2% C 0.126 H 141.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#28691F
RGBrgb(40, 105, 31)
HSLhsl(113, 54%, 27%)
HSVhsv(113, 70%, 41%)
CMYKcmyk(61.9%, 0%, 70.5%, 58.8%)
CIE-LABlab(38.99, -36.03, 34.22)
CIE-LCHlch(38.99, 49.69, 136.48°)
OKLaboklab(46.21% -0.0984 0.0788)
OKLCHoklch(46.21% 0.126 141.3)
XYZxyz(6.1737, 10.6526, 3.0269)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28691F #601F69
analogous
#4D691F #28691F #1F693B
triadic
#28691F #1F2869 #691F28
tetradic
#28691F #1F4D69 #601F69 #693B1F
square
#28691F #1F4D69 #601F69 #693B1F
split-complementary
#28691F #3B1F69 #691F4D
monochromatic
#091807 #163A11 #28691F #3A982D #4DC63D

Accessibility & contrast

On white

6.71
#28691F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#28691F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28691F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28691F#FFFFFF#000000##FFFFFF
##28691F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F15
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#1F665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #28691f;
/* rgb */ color: rgb(40, 105, 31);
/* oklch */ color: oklch(46.2% 0.126 141.3);
Tailwind
colors: {
  custom: {
    50: '#6a945f',
    500: '#28691f',
    950: '#000000',
  },
}
SCSS
$custom: #28691f;
$custom-light: #6a945f;
$custom-dark: #000000;
JSON
{
  "hex": "#28691f",
  "rgb": {
    "r": 40,
    "g": 105,
    "b": 31
  },
  "hsl": {
    "h": 112.703,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46206,
    "c": 0.12606,
    "h": 141.3
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#28691F
secondary
#93479D
accent
#4ADECC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #28691F

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

Preview Lab → · Contrast checker → · Palette generator →

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