#28651B#28651B

#28651B is a mid, vivid green. Relative luminance 0.098; OKLCH L 45.0% C 0.124 H 140.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#28651B
RGBrgb(40, 101, 27)
HSLhsl(109, 58%, 25%)
HSVhsv(109, 73%, 40%)
CMYKcmyk(60.4%, 0%, 73.3%, 60.4%)
CIE-LABlab(37.55, -34.80, 34.48)
CIE-LCHlch(37.55, 48.99, 135.26°)
OKLaboklab(45.01% -0.0953 0.0788)
OKLCHoklch(45.01% 0.124 140.4)
XYZxyz(5.7263, 9.8371, 2.6337)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28651B #581B65
analogous
#4D651B #28651B #1B6533
triadic
#28651B #1B2865 #651B28
tetradic
#28651B #1B4D65 #581B65 #65331B
square
#28651B #1B4D65 #581B65 #65331B
split-complementary
#28651B #331B65 #651B4D
monochromatic
#0A1806 #15350E #28651B #3B9528 #4EC635

Accessibility & contrast

On white

7.08
#28651B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#28651B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28651B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28651B#FFFFFF#000000##FFFFFF
##28651B1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C10
Deuteranopia (green-blind)
#605622
Tritanopia (blue-blind)
#206256
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #28651b;
/* rgb */ color: rgb(40, 101, 27);
/* oklch */ color: oklch(45.0% 0.124 140.4);
Tailwind
colors: {
  custom: {
    50: '#6a915c',
    500: '#28651b',
    950: '#000000',
  },
}
SCSS
$custom: #28651b;
$custom-light: #6a915c;
$custom-dark: #000000;
JSON
{
  "hex": "#28651b",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 109.459,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45006,
    "c": 0.12368,
    "h": 140.4
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#28651B
secondary
#8B419A
accent
#47E1C6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #28651B

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

Preview Lab → · Contrast checker → · Palette generator →

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