#28451D#28451D

#28451D is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.7% C 0.073 H 137.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#28451D
RGBrgb(40, 69, 29)
HSLhsl(104, 41%, 19%)
HSVhsv(104, 58%, 27%)
CMYKcmyk(42%, 0%, 58%, 72.9%)
CIE-LABlab(26.15, -19.79, 20.63)
CIE-LCHlch(26.15, 28.59, 133.82°)
OKLaboklab(35.66% -0.0544 0.0494)
OKLCHoklch(35.66% 0.073 137.8)
XYZxyz(3.2249, 4.7959, 1.9179)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28451D #3A1D45
analogous
#3C451D #28451D #1D4526
triadic
#28451D #1D2845 #451D28
tetradic
#28451D #1D3C45 #3A1D45 #45261D
square
#28451D #1D3C45 #3A1D45 #45261D
split-complementary
#28451D #261D45 #451D3C
monochromatic
#0C1609 #0F1A0B #28451D #41702F #5A9B41

Accessibility & contrast

On white

10.72
#28451D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28451D
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28451D#FFFFFF#000000##FFFFFF
##28451D1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28451d;
/* rgb */ color: rgb(40, 69, 29);
/* oklch */ color: oklch(35.7% 0.073 137.8);
Tailwind
colors: {
  custom: {
    50: '#64795a',
    500: '#28451d',
    950: '#000000',
  },
}
SCSS
$custom: #28451d;
$custom-light: #64795a;
$custom-dark: #000000;
JSON
{
  "hex": "#28451d",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 29
  },
  "hsl": {
    "h": 103.5,
    "s": 40.816,
    "l": 19.216
  },
  "oklch": {
    "l": 0.35656,
    "c": 0.07344,
    "h": 137.8
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#28451D
secondary
#6B447A
accent
#57D1AF
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050904
muted
#7A7B79

Preview Lab

Preview with #28451D

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

Preview Lab → · Contrast checker → · Palette generator →

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