#28301E#28301E

#28301E is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.6% C 0.033 H 127.8°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#28301E
RGBrgb(40, 48, 30)
HSLhsl(87, 23%, 15%)
HSVhsv(87, 38%, 19%)
CMYKcmyk(16.7%, 0%, 37.5%, 81.2%)
CIE-LABlab(18.62, -7.47, 10.43)
CIE-LCHlch(18.62, 12.83, 125.60°)
OKLaboklab(29.58% -0.0202 0.0261)
OKLCHoklch(29.58% 0.033 127.8)
XYZxyz(2.1663, 2.6587, 1.6271)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28301E #261E30
analogous
#302F1E #28301E #1F301E
triadic
#28301E #1E2830 #301E28
tetradic
#28301E #1E302F #261E30 #301E1F
square
#28301E #1E302F #261E30 #301E1F
split-complementary
#28301E #1E1F30 #2F1E30
monochromatic
#10130C #10130C #28301E #475636 #677B4D

Accessibility & contrast

On white

13.71
#28301E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#28301E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28301E
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28301E#FFFFFF#000000##FFFFFF
##28301E1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1D
Deuteranopia (green-blind)
#312D1F
Tritanopia (blue-blind)
#292E2B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #28301e;
/* rgb */ color: rgb(40, 48, 30);
/* oklch */ color: oklch(29.6% 0.033 127.8);
Tailwind
colors: {
  custom: {
    50: '#626859',
    500: '#28301e',
    950: '#000000',
  },
}
SCSS
$custom: #28301e;
$custom-light: #626859;
$custom-dark: #000000;
JSON
{
  "hex": "#28301e",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 30
  },
  "hsl": {
    "h": 86.667,
    "s": 23.077,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29582,
    "c": 0.03304,
    "h": 127.8
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#28301E
secondary
#534763
accent
#68C08F
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #28301E

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

Preview Lab → · Contrast checker → · Palette generator →

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