#28451E#28451E

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

Color values

HEX#28451E
RGBrgb(40, 69, 30)
HSLhsl(105, 39%, 19%)
HSVhsv(105, 57%, 27%)
CMYKcmyk(42%, 0%, 56.5%, 72.9%)
CIE-LABlab(26.16, -19.65, 20.06)
CIE-LCHlch(26.16, 28.08, 134.40°)
OKLaboklab(35.67% -0.0539 0.0482)
OKLCHoklch(35.67% 0.072 138.2)
XYZxyz(3.2374, 4.8009, 1.9841)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28451E #3B1E45
analogous
#3C451E #28451E #1E4528
triadic
#28451E #1E2845 #451E28
tetradic
#28451E #1E3C45 #3B1E45 #45281E
square
#28451E #1E3C45 #3B1E45 #45281E
split-complementary
#28451E #281E45 #451E3C
monochromatic
#0C1509 #0F1A0B #28451E #417031 #599A43

Accessibility & contrast

On white

10.71
#28451E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28451E
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28451E#FFFFFF#000000##FFFFFF
##28451E1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401B
Deuteranopia (green-blind)
#433D21
Tritanopia (blue-blind)
#26433C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28451e;
/* rgb */ color: rgb(40, 69, 30);
/* oklch */ color: oklch(35.7% 0.072 138.2);
Tailwind
colors: {
  custom: {
    50: '#64795b',
    500: '#28451e',
    950: '#000000',
  },
}
SCSS
$custom: #28451e;
$custom-light: #64795b;
$custom-dark: #000000;
JSON
{
  "hex": "#28451e",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 30
  },
  "hsl": {
    "h": 104.615,
    "s": 39.394,
    "l": 19.412
  },
  "oklch": {
    "l": 0.35672,
    "c": 0.07231,
    "h": 138.2
  },
  "luminance": 0.04801
}

Semantic roles & 50–950 ramp

primary
#28451E
secondary
#6C457A
accent
#59CFB1
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050904
muted
#7A7B79

Preview Lab

Preview with #28451E

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

Preview Lab → · Contrast checker → · Palette generator →

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