#28681F#28681F

#28681F is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.125 H 141.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#28681F
RGBrgb(40, 104, 31)
HSLhsl(113, 54%, 26%)
HSVhsv(113, 70%, 41%)
CMYKcmyk(61.5%, 0%, 70.2%, 59.2%)
CIE-LABlab(38.64, -35.63, 33.84)
CIE-LCHlch(38.64, 49.14, 136.47°)
OKLaboklab(45.92% -0.0973 0.078)
OKLCHoklch(45.92% 0.125 141.3)
XYZxyz(6.0724, 10.4501, 2.9931)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28681F #5F1F68
analogous
#4D681F #28681F #1F683B
triadic
#28681F #1F2868 #681F28
tetradic
#28681F #1F4D68 #5F1F68 #683B1F
square
#28681F #1F4D68 #5F1F68 #683B1F
split-complementary
#28681F #3B1F68 #681F4D
monochromatic
#091807 #163911 #28681F #3A972D #4DC53C

Accessibility & contrast

On white

6.80
#28681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#28681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28681F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28681F#FFFFFF#000000##FFFFFF
##28681F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E15
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#1F6559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #28681f;
/* rgb */ color: rgb(40, 104, 31);
/* oklch */ color: oklch(45.9% 0.125 141.3);
Tailwind
colors: {
  custom: {
    50: '#6a945f',
    500: '#28681f',
    950: '#000000',
  },
}
SCSS
$custom: #28681f;
$custom-light: #6a945f;
$custom-dark: #000000;
JSON
{
  "hex": "#28681f",
  "rgb": {
    "r": 40,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 112.603,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.1247,
    "h": 141.3
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#28681F
secondary
#92469C
accent
#4ADDCB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #28681F

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

Preview Lab → · Contrast checker → · Palette generator →

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