#28652F#28652F

#28652F is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.3% C 0.106 H 145.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#28652F
RGBrgb(40, 101, 47)
HSLhsl(127, 43%, 28%)
HSVhsv(127, 60%, 40%)
CMYKcmyk(60.4%, 0%, 53.5%, 60.4%)
CIE-LABlab(37.78, -32.25, 24.64)
CIE-LCHlch(37.78, 40.59, 142.62°)
OKLaboklab(45.27% -0.0874 0.0595)
OKLCHoklch(45.27% 0.106 145.7)
XYZxyz(6.0415, 9.9632, 4.2935)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28652F #65285E
analogous
#406528 #28652F #28654D
triadic
#28652F #2F2865 #652F28
tetradic
#28652F #284065 #65285E #654D28
square
#28652F #284065 #65285E #654D28
split-complementary
#28652F #4D2865 #652840
monochromatic
#09160A #17391B #28652F #399143 #4EB95B

Accessibility & contrast

On white

7.02
#28652F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#28652F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28652F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28652F#FFFFFF#000000##FFFFFF
##28652F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C2A
Deuteranopia (green-blind)
#5F5733
Tritanopia (blue-blind)
#1C6358
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #28652f;
/* rgb */ color: rgb(40, 101, 47);
/* oklch */ color: oklch(45.3% 0.106 145.7);
Tailwind
colors: {
  custom: {
    50: '#699169',
    500: '#28652f',
    950: '#000000',
  },
}
SCSS
$custom: #28652f;
$custom-light: #699169;
$custom-dark: #000000;
JSON
{
  "hex": "#28652f",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 47
  },
  "hsl": {
    "h": 126.885,
    "s": 43.262,
    "l": 27.647
  },
  "oklch": {
    "l": 0.45268,
    "c": 0.10573,
    "h": 145.7
  },
  "luminance": 0.09964
}

Semantic roles & 50–950 ramp

primary
#28652F
secondary
#985190
accent
#55C5D3
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #28652F

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

Preview Lab → · Contrast checker → · Palette generator →

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