#28361A#28361A

#28361A is a dark, muted yellow-green. Relative luminance 0.032; OKLCH L 31.2% C 0.050 H 130.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#28361A
RGBrgb(40, 54, 26)
HSLhsl(90, 35%, 16%)
HSVhsv(90, 52%, 21%)
CMYKcmyk(25.9%, 0%, 51.9%, 78.8%)
CIE-LABlab(20.69, -11.85, 15.72)
CIE-LCHlch(20.69, 19.68, 127.01°)
OKLaboklab(31.22% -0.0327 0.0382)
OKLCHoklch(31.22% 0.05 130.6)
XYZxyz(2.3807, 3.1640, 1.4624)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28361A #281A36
analogous
#36361A #28361A #1A361A
triadic
#28361A #1A2836 #361A28
tetradic
#28361A #1A3636 #281A36 #361A1A
square
#28361A #1A3636 #281A36 #361A1A
split-complementary
#28361A #1A1A36 #361A36
monochromatic
#0F150A #0F150A #28361A #475F2E #658942

Accessibility & contrast

On white

12.86
#28361A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#28361A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28361A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28361A#FFFFFF#000000##FFFFFF
##28361A1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383218
Deuteranopia (green-blind)
#36311C
Tritanopia (blue-blind)
#29342F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #28361a;
/* rgb */ color: rgb(40, 54, 26);
/* oklch */ color: oklch(31.2% 0.050 130.6);
Tailwind
colors: {
  custom: {
    50: '#626d57',
    500: '#28361a',
    950: '#000000',
  },
}
SCSS
$custom: #28361a;
$custom-light: #626d57;
$custom-dark: #000000;
JSON
{
  "hex": "#28361a",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 26
  },
  "hsl": {
    "h": 90,
    "s": 35,
    "l": 15.686
  },
  "oklch": {
    "l": 0.31217,
    "c": 0.05026,
    "h": 130.6
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#28361A
secondary
#56416B
accent
#5DCB94
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050703
muted
#797A78

Preview Lab

Preview with #28361A

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

Preview Lab → · Contrast checker → · Palette generator →

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