#28381A#28381A

#28381A is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 31.8% C 0.054 H 131.8°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#28381A
RGBrgb(40, 56, 26)
HSLhsl(92, 37%, 16%)
HSVhsv(92, 54%, 22%)
CMYKcmyk(28.6%, 0%, 53.6%, 78%)
CIE-LABlab(21.41, -13.03, 16.62)
CIE-LCHlch(21.41, 21.12, 128.11°)
OKLaboklab(31.8% -0.036 0.0402)
OKLCHoklch(31.8% 0.054 131.8)
XYZxyz(2.4757, 3.3540, 1.4940)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28381A #2A1A38
analogous
#37381A #28381A #1A381B
triadic
#28381A #1A2838 #381A28
tetradic
#28381A #1A3738 #2A1A38 #381B1A
square
#28381A #1A3738 #2A1A38 #381B1A
split-complementary
#28381A #1B1A38 #381A37
monochromatic
#0F150A #0F150A #28381A #46622D #648C41

Accessibility & contrast

On white

12.57
#28381A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#28381A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28381A
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28381A#FFFFFF#000000##FFFFFF
##28381A1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3418
Deuteranopia (green-blind)
#38331C
Tritanopia (blue-blind)
#293631
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #28381a;
/* rgb */ color: rgb(40, 56, 26);
/* oklch */ color: oklch(31.8% 0.054 131.8);
Tailwind
colors: {
  custom: {
    50: '#636e57',
    500: '#28381a',
    950: '#000000',
  },
}
SCSS
$custom: #28381a;
$custom-light: #636e57;
$custom-dark: #000000;
JSON
{
  "hex": "#28381a",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 26
  },
  "hsl": {
    "h": 92,
    "s": 36.585,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31798,
    "c": 0.05395,
    "h": 131.8
  },
  "luminance": 0.03354
}

Semantic roles & 50–950 ramp

primary
#28381A
secondary
#58416D
accent
#5BCD98
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050703
muted
#797A78

Preview Lab

Preview with #28381A

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

Preview Lab → · Contrast checker → · Palette generator →

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