#28440C#28440C

#28440C is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.2% C 0.088 H 132.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#28440C
RGBrgb(40, 68, 12)
HSLhsl(90, 70%, 16%)
HSVhsv(90, 82%, 27%)
CMYKcmyk(41.2%, 0%, 82.4%, 73.3%)
CIE-LABlab(25.60, -21.14, 28.76)
CIE-LCHlch(25.60, 35.69, 126.32°)
OKLaboklab(35.15% -0.0595 0.0645)
OKLCHoklch(35.15% 0.088 132.7)
XYZxyz(3.0085, 4.6118, 1.0794)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28440C #280C44
analogous
#44440C #28440C #0C440C
triadic
#28440C #0C2844 #440C28
tetradic
#28440C #0C4444 #280C44 #440C0C
square
#28440C #0C4444 #280C44 #440C0C
split-complementary
#28440C #0C0C44 #440C44
monochromatic
#0F1A05 #0F1A05 #28440C #477815 #65AC1E

Accessibility & contrast

On white

10.92
#28440C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#28440C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28440C
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28440C#FFFFFF#000000##FFFFFF
##28440C1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E03
Deuteranopia (green-blind)
#433C11
Tritanopia (blue-blind)
#284139
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #28440c;
/* rgb */ color: rgb(40, 68, 12);
/* oklch */ color: oklch(35.2% 0.088 132.7);
Tailwind
colors: {
  custom: {
    50: '#65784f',
    500: '#28440c',
    950: '#000000',
  },
}
SCSS
$custom: #28440c;
$custom-light: #65784f;
$custom-dark: #000000;
JSON
{
  "hex": "#28440c",
  "rgb": {
    "r": 40,
    "g": 68,
    "b": 12
  },
  "hsl": {
    "h": 90,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35151,
    "c": 0.08776,
    "h": 132.7
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#28440C
secondary
#562C80
accent
#3BED94
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28440C

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

Preview Lab → · Contrast checker → · Palette generator →

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