#28481F#28481F

#28481F is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.6% C 0.076 H 139.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#28481F
RGBrgb(40, 72, 31)
HSLhsl(107, 40%, 20%)
HSVhsv(107, 57%, 28%)
CMYKcmyk(44.4%, 0%, 56.9%, 71.8%)
CIE-LABlab(27.25, -21.06, 20.81)
CIE-LCHlch(27.25, 29.60, 135.34°)
OKLaboklab(36.57% -0.0577 0.0499)
OKLCHoklch(36.57% 0.076 139.1)
XYZxyz(3.4396, 5.1846, 2.1155)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28481F #3F1F48
analogous
#3C481F #28481F #1F482A
triadic
#28481F #1F2848 #481F28
tetradic
#28481F #1F3C48 #3F1F48 #482A1F
square
#28481F #1F3C48 #3F1F48 #482A1F
split-complementary
#28481F #2A1F48 #481F3C
monochromatic
#0C1509 #101D0D #28481F #407331 #589E44

Accessibility & contrast

On white

10.31
#28481F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#28481F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28481F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28481F#FFFFFF#000000##FFFFFF
##28481F1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421B
Deuteranopia (green-blind)
#463F22
Tritanopia (blue-blind)
#26463F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #28481f;
/* rgb */ color: rgb(40, 72, 31);
/* oklch */ color: oklch(36.6% 0.076 139.1);
Tailwind
colors: {
  custom: {
    50: '#647b5c',
    500: '#28481f',
    950: '#000000',
  },
}
SCSS
$custom: #28481f;
$custom-light: #647b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#28481f",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 106.829,
    "s": 39.806,
    "l": 20.196
  },
  "oklch": {
    "l": 0.36569,
    "c": 0.07631,
    "h": 139.1
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#28481F
secondary
#71467D
accent
#58D0B5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#050904
muted
#7A7B79

Preview Lab

Preview with #28481F

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

Preview Lab → · Contrast checker → · Palette generator →

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