#28301A#28301A

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

Color values

HEX#28301A
RGBrgb(40, 48, 26)
HSLhsl(82, 30%, 15%)
HSVhsv(82, 46%, 19%)
CMYKcmyk(16.7%, 0%, 45.8%, 81.2%)
CIE-LABlab(18.54, -8.16, 12.98)
CIE-LCHlch(18.54, 15.33, 122.17°)
OKLaboklab(29.49% -0.0224 0.0319)
OKLCHoklch(29.49% 0.039 125)
XYZxyz(2.1185, 2.6396, 1.3750)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28301A #221A30
analogous
#302D1A #28301A #1D301A
triadic
#28301A #1A2830 #301A28
tetradic
#28301A #1A302D #221A30 #301A1D
square
#28301A #1A302D #221A30 #301A1D
split-complementary
#28301A #1A1D30 #2D1A30
monochromatic
#11140B #11140B #28301A #495830 #6A7F45

Accessibility & contrast

On white

13.74
#28301A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28301A
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28301A#FFFFFF#000000##FFFFFF
##28301A1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28301a;
/* rgb */ color: rgb(40, 48, 26);
/* oklch */ color: oklch(29.5% 0.039 125.0);
Tailwind
colors: {
  custom: {
    50: '#626856',
    500: '#28301a',
    950: '#000000',
  },
}
SCSS
$custom: #28301a;
$custom-light: #626856;
$custom-dark: #000000;
JSON
{
  "hex": "#28301a",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 26
  },
  "hsl": {
    "h": 81.818,
    "s": 29.73,
    "l": 14.51
  },
  "oklch": {
    "l": 0.29488,
    "c": 0.03898,
    "h": 125
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#28301A
secondary
#4E4264
accent
#62C686
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #28301A

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

Preview Lab → · Contrast checker → · Palette generator →

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