#28451C#28451C

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

Color values

HEX#28451C
RGBrgb(40, 69, 28)
HSLhsl(102, 42%, 19%)
HSVhsv(102, 59%, 27%)
CMYKcmyk(42%, 0%, 59.4%, 72.9%)
CIE-LABlab(26.13, -19.93, 21.19)
CIE-LCHlch(26.13, 29.09, 133.25°)
OKLaboklab(35.64% -0.0548 0.0505)
OKLCHoklch(35.64% 0.075 137.4)
XYZxyz(3.2127, 4.7910, 1.8539)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28451C #391C45
analogous
#3D451C #28451C #1C4525
triadic
#28451C #1C2845 #451C28
tetradic
#28451C #1C3D45 #391C45 #45251C
square
#28451C #1C3D45 #391C45 #45251C
split-complementary
#28451C #251C45 #451C3D
monochromatic
#0D1609 #0F190A #28451C #41712E #5A9C3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28451C#FFFFFF#000000##FFFFFF
##28451C1.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)
#473F18
Deuteranopia (green-blind)
#433D1F
Tritanopia (blue-blind)
#27433C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28451c;
/* rgb */ color: rgb(40, 69, 28);
/* oklch */ color: oklch(35.6% 0.075 137.4);
Tailwind
colors: {
  custom: {
    50: '#647959',
    500: '#28451c',
    950: '#000000',
  },
}
SCSS
$custom: #28451c;
$custom-light: #647959;
$custom-dark: #000000;
JSON
{
  "hex": "#28451c",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 28
  },
  "hsl": {
    "h": 102.439,
    "s": 42.268,
    "l": 19.02
  },
  "oklch": {
    "l": 0.35639,
    "c": 0.07456,
    "h": 137.4
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#28451C
secondary
#6A427A
accent
#56D2AE
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050903
muted
#7A7B78

Preview Lab

Preview with #28451C

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

Preview Lab → · Contrast checker → · Palette generator →

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