#28461B#28461B

#28461B is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.9% C 0.077 H 137.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#28461B
RGBrgb(40, 70, 27)
HSLhsl(102, 44%, 19%)
HSVhsv(102, 61%, 27%)
CMYKcmyk(42.9%, 0%, 61.4%, 72.5%)
CIE-LABlab(26.48, -20.59, 22.17)
CIE-LCHlch(26.48, 30.26, 132.88°)
OKLaboklab(35.92% -0.0567 0.0526)
OKLCHoklch(35.92% 0.077 137.2)
XYZxyz(3.2630, 4.9104, 1.8126)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28461B #391B46
analogous
#3E461B #28461B #1B4624
triadic
#28461B #1B2846 #461B28
tetradic
#28461B #1B3E46 #391B46 #46241B
square
#28461B #1B3E46 #391B46 #46241B
split-complementary
#28461B #241B46 #461B3E
monochromatic
#0D1609 #0F1A0A #28461B #41722C #5A9E3D

Accessibility & contrast

On white

10.59
#28461B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#28461B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28461B
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28461B#FFFFFF#000000##FFFFFF
##28461B1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484017
Deuteranopia (green-blind)
#443E1E
Tritanopia (blue-blind)
#27433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #28461b;
/* rgb */ color: rgb(40, 70, 27);
/* oklch */ color: oklch(35.9% 0.077 137.2);
Tailwind
colors: {
  custom: {
    50: '#647959',
    500: '#28461b',
    950: '#000000',
  },
}
SCSS
$custom: #28461b;
$custom-light: #647959;
$custom-dark: #000000;
JSON
{
  "hex": "#28461b",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 27
  },
  "hsl": {
    "h": 101.86,
    "s": 44.33,
    "l": 19.02
  },
  "oklch": {
    "l": 0.35918,
    "c": 0.07733,
    "h": 137.2
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#28461B
secondary
#6A417C
accent
#54D4AD
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050903
muted
#7A7B78

Preview Lab

Preview with #28461B

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

Preview Lab → · Contrast checker → · Palette generator →

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