#28380D#28380D

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

Color values

HEX#28380D
RGBrgb(40, 56, 13)
HSLhsl(82, 62%, 14%)
HSVhsv(82, 77%, 22%)
CMYKcmyk(28.6%, 0%, 76.8%, 78%)
CIE-LABlab(21.24, -14.61, 23.82)
CIE-LCHlch(21.24, 27.94, 121.52°)
OKLaboklab(31.61% -0.0416 0.0543)
OKLCHoklch(31.61% 0.068 127.4)
XYZxyz(2.3619, 3.3085, 0.8949)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28380D #1D0D38
analogous
#38320D #28380D #12380D
triadic
#28380D #0D2838 #380D28
tetradic
#28380D #0D3832 #1D0D38 #380D12
square
#28380D #0D3832 #1D0D38 #380D12
split-complementary
#28380D #0D1238 #320D38
monochromatic
#121906 #121906 #28380D #4B6A19 #6F9B24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28380D#FFFFFF#000000##FFFFFF
##28380D1.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)
#3B3407
Deuteranopia (green-blind)
#393310
Tritanopia (blue-blind)
#2A352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #28380d;
/* rgb */ color: rgb(40, 56, 13);
/* oklch */ color: oklch(31.6% 0.068 127.4);
Tailwind
colors: {
  custom: {
    50: '#646e4e',
    500: '#28380d',
    950: '#000000',
  },
}
SCSS
$custom: #28380d;
$custom-light: #646e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#28380d",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 13
  },
  "hsl": {
    "h": 82.326,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31605,
    "c": 0.06844,
    "h": 127.4
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#28380D
secondary
#472D73
accent
#42E57F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #28380D

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

Preview Lab → · Contrast checker → · Palette generator →

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