#28390D#28390D

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

Color values

HEX#28390D
RGBrgb(40, 57, 13)
HSLhsl(83, 63%, 14%)
HSVhsv(83, 77%, 22%)
CMYKcmyk(29.8%, 0%, 77.2%, 77.6%)
CIE-LABlab(21.60, -15.17, 24.21)
CIE-LCHlch(21.60, 28.58, 122.08°)
OKLaboklab(31.9% -0.0432 0.0551)
OKLCHoklch(31.9% 0.07 128.1)
XYZxyz(2.4108, 3.4064, 0.9112)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28390D #1E0D39
analogous
#39340D #28390D #12390D
triadic
#28390D #0D2839 #390D28
tetradic
#28390D #0D3934 #1E0D39 #390D12
square
#28390D #0D3934 #1E0D39 #390D12
split-complementary
#28390D #0D1239 #340D39
monochromatic
#111906 #111906 #28390D #4B6B18 #6E9D24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28390D#FFFFFF#000000##FFFFFF
##28390D1.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)
#3C3507
Deuteranopia (green-blind)
#3A3311
Tritanopia (blue-blind)
#2A3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28390d;
/* rgb */ color: rgb(40, 57, 13);
/* oklch */ color: oklch(31.9% 0.070 128.1);
Tailwind
colors: {
  custom: {
    50: '#646f4e',
    500: '#28390d',
    950: '#000000',
  },
}
SCSS
$custom: #28390d;
$custom-light: #646f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#28390d",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 13
  },
  "hsl": {
    "h": 83.182,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.319,
    "c": 0.07003,
    "h": 128.1
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#28390D
secondary
#492D74
accent
#42E681
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050702
muted
#7A7A78

Preview Lab

Preview with #28390D

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

Preview Lab → · Contrast checker → · Palette generator →

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