#28380B#28380B

#28380B is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.6% C 0.070 H 127.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#28380B
RGBrgb(40, 56, 11)
HSLhsl(81, 67%, 13%)
HSVhsv(81, 80%, 22%)
CMYKcmyk(28.6%, 0%, 80.4%, 78%)
CIE-LABlab(21.22, -14.78, 24.71)
CIE-LCHlch(21.22, 28.79, 120.88°)
OKLaboklab(31.59% -0.0423 0.056)
OKLCHoklch(31.59% 0.07 127.1)
XYZxyz(2.3497, 3.3036, 0.8304)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28380B #1B0B38
analogous
#38310B #28380B #11380B
triadic
#28380B #0B2838 #380B28
tetradic
#28380B #0B3831 #1B0B38 #380B11
square
#28380B #0B3831 #1B0B38 #380B11
split-complementary
#28380B #0B1138 #310B38
monochromatic
#121A05 #121A05 #28380B #4D6B15 #719E1F

Accessibility & contrast

On white

12.64
#28380B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#28380B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28380B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28380B#FFFFFF#000000##FFFFFF
##28380B1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3405
Deuteranopia (green-blind)
#39330F
Tritanopia (blue-blind)
#2A352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #28380b;
/* rgb */ color: rgb(40, 56, 11);
/* oklch */ color: oklch(31.6% 0.070 127.1);
Tailwind
colors: {
  custom: {
    50: '#646e4d',
    500: '#28380b',
    950: '#000000',
  },
}
SCSS
$custom: #28380b;
$custom-light: #646e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#28380b",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 11
  },
  "hsl": {
    "h": 81.333,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31585,
    "c": 0.07019,
    "h": 127.1
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#28380B
secondary
#452A75
accent
#3EEA7B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #28380B

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

Preview Lab → · Contrast checker → · Palette generator →

#28380B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva