#28501F#28501F

#28501F is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.089 H 140.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#28501F
RGBrgb(40, 80, 31)
HSLhsl(109, 44%, 22%)
HSVhsv(109, 61%, 31%)
CMYKcmyk(50%, 0%, 61.2%, 68.6%)
CIE-LABlab(30.13, -25.03, 24.25)
CIE-LCHlch(30.13, 34.85, 135.91°)
OKLaboklab(38.92% -0.0686 0.0575)
OKLCHoklch(38.92% 0.089 140)
XYZxyz(3.9909, 6.2871, 2.2993)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28501F #471F50
analogous
#41501F #28501F #1F502F
triadic
#28501F #1F2850 #501F28
tetradic
#28501F #1F4150 #471F50 #502F1F
square
#28501F #1F4150 #471F50 #502F1F
split-complementary
#28501F #2F1F50 #501F41
monochromatic
#0B1609 #12240E #28501F #3E7C30 #54A841

Accessibility & contrast

On white

9.30
#28501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#28501F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28501F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28501F#FFFFFF#000000##FFFFFF
##28501F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491A
Deuteranopia (green-blind)
#4D4623
Tritanopia (blue-blind)
#244D45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28501f;
/* rgb */ color: rgb(40, 80, 31);
/* oklch */ color: oklch(38.9% 0.089 140.0);
Tailwind
colors: {
  custom: {
    50: '#65815c',
    500: '#28501f',
    950: '#000000',
  },
}
SCSS
$custom: #28501f;
$custom-light: #65815c;
$custom-dark: #000000;
JSON
{
  "hex": "#28501f",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 108.98,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.08945,
    "h": 140
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#28501F
secondary
#794685
accent
#54D4BC
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #28501F

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

Preview Lab → · Contrast checker → · Palette generator →

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