#28380E#28380E

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

Color values

HEX#28380E
RGBrgb(40, 56, 14)
HSLhsl(83, 60%, 14%)
HSVhsv(83, 75%, 22%)
CMYKcmyk(28.6%, 0%, 75%, 78%)
CIE-LABlab(21.25, -14.51, 23.34)
CIE-LCHlch(21.25, 27.48, 121.88°)
OKLaboklab(31.62% -0.0412 0.0535)
OKLCHoklch(31.62% 0.068 127.7)
XYZxyz(2.3685, 3.3111, 0.9297)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28380E #1E0E38
analogous
#38330E #28380E #13380E
triadic
#28380E #0E2838 #380E28
tetradic
#28380E #0E3833 #1E0E38 #380E13
square
#28380E #0E3833 #1E0E38 #380E13
split-complementary
#28380E #0E1338 #330E38
monochromatic
#111806 #111806 #28380E #4B691A #6E9A26

Accessibility & contrast

On white

12.63
#28380E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28380E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28380E#FFFFFF#000000##FFFFFF
##28380E1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3409
Deuteranopia (green-blind)
#393311
Tritanopia (blue-blind)
#2A352F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #28380e;
/* rgb */ color: rgb(40, 56, 14);
/* oklch */ color: oklch(31.6% 0.068 127.7);
Tailwind
colors: {
  custom: {
    50: '#636e4f',
    500: '#28380e',
    950: '#000000',
  },
}
SCSS
$custom: #28380e;
$custom-light: #636e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#28380e",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 14
  },
  "hsl": {
    "h": 82.857,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31617,
    "c": 0.06751,
    "h": 127.7
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#28380E
secondary
#492F73
accent
#45E381
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #28380E

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

Preview Lab → · Contrast checker → · Palette generator →

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