#28451A#28451A

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

Color values

HEX#28451A
RGBrgb(40, 69, 26)
HSLhsl(100, 45%, 19%)
HSVhsv(100, 62%, 27%)
CMYKcmyk(42%, 0%, 62.3%, 72.9%)
CIE-LABlab(26.10, -20.21, 22.29)
CIE-LCHlch(26.10, 30.09, 132.19°)
OKLaboklab(35.61% -0.0557 0.0527)
OKLCHoklch(35.61% 0.077 136.6)
XYZxyz(3.1896, 4.7818, 1.7320)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28451A #371A45
analogous
#3D451A #28451A #1A4521
triadic
#28451A #1A2845 #451A28
tetradic
#28451A #1A3D45 #371A45 #45211A
square
#28451A #1A3D45 #371A45 #45211A
split-complementary
#28451A #211A45 #451A3D
monochromatic
#0D1608 #0E1909 #28451A #42712B #5C9E3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28451A#FFFFFF#000000##FFFFFF
##28451A1.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)
#473F16
Deuteranopia (green-blind)
#433D1D
Tritanopia (blue-blind)
#27423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #28451a;
/* rgb */ color: rgb(40, 69, 26);
/* oklch */ color: oklch(35.6% 0.077 136.6);
Tailwind
colors: {
  custom: {
    50: '#647958',
    500: '#28451a',
    950: '#000000',
  },
}
SCSS
$custom: #28451a;
$custom-light: #647958;
$custom-dark: #000000;
JSON
{
  "hex": "#28451a",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 26
  },
  "hsl": {
    "h": 100.465,
    "s": 45.263,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35609,
    "c": 0.07674,
    "h": 136.6
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#28451A
secondary
#68407B
accent
#53D5AB
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050903
muted
#7A7B78

Preview Lab

Preview with #28451A

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

Preview Lab → · Contrast checker → · Palette generator →

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