#28751D#28751D

#28751D is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.143 H 141.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#28751D
RGBrgb(40, 117, 29)
HSLhsl(113, 60%, 29%)
HSVhsv(113, 75%, 46%)
CMYKcmyk(65.8%, 0%, 75.2%, 54.1%)
CIE-LABlab(43.15, -40.92, 39.45)
CIE-LCHlch(43.15, 56.84, 136.05°)
OKLaboklab(49.64% -0.1118 0.0895)
OKLCHoklch(49.64% 0.143 141.3)
XYZxyz(7.4578, 13.2617, 3.3289)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28751D #6A1D75
analogous
#54751D #28751D #1D753E
triadic
#28751D #1D2875 #751D28
tetradic
#28751D #1D5475 #6A1D75 #753E1D
square
#28751D #1D5475 #6A1D75 #753E1D
split-complementary
#28751D #3E1D75 #751D54
monochromatic
#081906 #174411 #28751D #39A629 #50CF3D

Accessibility & contrast

On white

5.75
#28751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#28751D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28751D
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28751D#FFFFFF#000000##FFFFFF
##28751D1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0E
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#1B7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #28751d;
/* rgb */ color: rgb(40, 117, 29);
/* oklch */ color: oklch(49.6% 0.143 141.3);
Tailwind
colors: {
  custom: {
    50: '#6d9e5f',
    500: '#28751d',
    950: '#000000',
  },
}
SCSS
$custom: #28751d;
$custom-light: #6d9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#28751d",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 112.5,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49644,
    "c": 0.14317,
    "h": 141.3
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#28751D
secondary
#9D45A9
accent
#44E3D0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #28751D

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

Preview Lab → · Contrast checker → · Palette generator →

#28751D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva