#28390E#28390E

#28390E is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.069 H 128.3°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#28390E
RGBrgb(40, 57, 14)
HSLhsl(84, 61%, 14%)
HSVhsv(84, 75%, 22%)
CMYKcmyk(29.8%, 0%, 75.4%, 77.6%)
CIE-LABlab(21.61, -15.08, 23.73)
CIE-LCHlch(21.61, 28.12, 122.43°)
OKLaboklab(31.91% -0.0428 0.0543)
OKLCHoklch(31.91% 0.069 128.3)
XYZxyz(2.4175, 3.4090, 0.9460)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28390E #1F0E39
analogous
#39350E #28390E #13390E
triadic
#28390E #0E2839 #390E28
tetradic
#28390E #0E3935 #1F0E39 #390E13
square
#28390E #0E3935 #1F0E39 #390E13
split-complementary
#28390E #0E1339 #350E39
monochromatic
#111906 #111906 #28390E #4A6A1A #6D9B26

Accessibility & contrast

On white

12.49
#28390E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#28390E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28390E
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28390E#FFFFFF#000000##FFFFFF
##28390E1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3508
Deuteranopia (green-blind)
#3A3311
Tritanopia (blue-blind)
#2A3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28390e;
/* rgb */ color: rgb(40, 57, 14);
/* oklch */ color: oklch(31.9% 0.069 128.3);
Tailwind
colors: {
  custom: {
    50: '#646f4f',
    500: '#28390e',
    950: '#000000',
  },
}
SCSS
$custom: #28390e;
$custom-light: #646f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#28390e",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 14
  },
  "hsl": {
    "h": 83.721,
    "s": 60.563,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31911,
    "c": 0.06912,
    "h": 128.3
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#28390E
secondary
#4A2F74
accent
#44E483
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #28390E

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

Preview Lab → · Contrast checker → · Palette generator →

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