#28301C#28301C

#28301C is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.5% C 0.036 H 126.2°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#28301C
RGBrgb(40, 48, 28)
HSLhsl(84, 26%, 15%)
HSVhsv(84, 42%, 19%)
CMYKcmyk(16.7%, 0%, 41.7%, 81.2%)
CIE-LABlab(18.58, -7.82, 11.71)
CIE-LCHlch(18.58, 14.08, 123.75°)
OKLaboklab(29.53% -0.0213 0.0291)
OKLCHoklch(29.53% 0.036 126.2)
XYZxyz(2.1416, 2.6488, 1.4968)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28301C #241C30
analogous
#302E1C #28301C #1E301C
triadic
#28301C #1C2830 #301C28
tetradic
#28301C #1C302E #241C30 #301C1E
square
#28301C #1C302E #241C30 #301C1E
split-complementary
#28301C #1C1E30 #2E1C30
monochromatic
#10130B #10130B #28301C #485733 #687D49

Accessibility & contrast

On white

13.73
#28301C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28301C
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28301C#FFFFFF#000000##FFFFFF
##28301C1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28301c;
/* rgb */ color: rgb(40, 48, 28);
/* oklch */ color: oklch(29.5% 0.036 126.2);
Tailwind
colors: {
  custom: {
    50: '#626858',
    500: '#28301c',
    950: '#000000',
  },
}
SCSS
$custom: #28301c;
$custom-light: #626858;
$custom-dark: #000000;
JSON
{
  "hex": "#28301c",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 84,
    "s": 26.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.29534,
    "c": 0.03604,
    "h": 126.2
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#28301C
secondary
#514463
accent
#65C38B
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #28301C

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

Preview Lab → · Contrast checker → · Palette generator →

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