#28451B#28451B

#28451B is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.6% C 0.076 H 137.0°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#28451B
RGBrgb(40, 69, 27)
HSLhsl(101, 44%, 19%)
HSVhsv(101, 61%, 27%)
CMYKcmyk(42%, 0%, 60.9%, 72.9%)
CIE-LABlab(26.12, -20.07, 21.74)
CIE-LCHlch(26.12, 29.59, 132.71°)
OKLaboklab(35.62% -0.0553 0.0516)
OKLCHoklch(35.62% 0.076 137)
XYZxyz(3.2009, 4.7863, 1.7919)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28451B #381B45
analogous
#3D451B #28451B #1B4523
triadic
#28451B #1B2845 #451B28
tetradic
#28451B #1B3D45 #381B45 #45231B
square
#28451B #1B3D45 #381B45 #45231B
split-complementary
#28451B #231B45 #451B3D
monochromatic
#0D1609 #0F190A #28451B #42712C #5B9D3D

Accessibility & contrast

On white

10.73
#28451B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#28451B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28451B
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28451B#FFFFFF#000000##FFFFFF
##28451B1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F17
Deuteranopia (green-blind)
#433D1E
Tritanopia (blue-blind)
#27433C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28451b;
/* rgb */ color: rgb(40, 69, 27);
/* oklch */ color: oklch(35.6% 0.076 137.0);
Tailwind
colors: {
  custom: {
    50: '#647959',
    500: '#28451b',
    950: '#000000',
  },
}
SCSS
$custom: #28451b;
$custom-light: #647959;
$custom-dark: #000000;
JSON
{
  "hex": "#28451b",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 101.429,
    "s": 43.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35624,
    "c": 0.07566,
    "h": 137
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#28451B
secondary
#69417B
accent
#54D3AC
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050903
muted
#7A7B78

Preview Lab

Preview with #28451B

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

Preview Lab → · Contrast checker → · Palette generator →

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