#28390B#28390B

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

Color values

HEX#28390B
RGBrgb(40, 57, 11)
HSLhsl(82, 68%, 13%)
HSVhsv(82, 81%, 22%)
CMYKcmyk(29.8%, 0%, 80.7%, 77.6%)
CIE-LABlab(21.59, -15.35, 25.10)
CIE-LCHlch(21.59, 29.42, 121.43°)
OKLaboklab(31.88% -0.0438 0.0568)
OKLCHoklch(31.88% 0.072 127.7)
XYZxyz(2.3986, 3.4015, 0.8467)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28390B #1C0B39
analogous
#39330B #28390B #11390B
triadic
#28390B #0B2839 #390B28
tetradic
#28390B #0B3933 #1C0B39 #390B11
square
#28390B #0B3933 #1C0B39 #390B11
split-complementary
#28390B #0B1139 #330B39
monochromatic
#121A05 #121A05 #28390B #4C6C15 #70A01F

Accessibility & contrast

On white

12.50
#28390B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28390B
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28390B#FFFFFF#000000##FFFFFF
##28390B1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28390b;
/* rgb */ color: rgb(40, 57, 11);
/* oklch */ color: oklch(31.9% 0.072 127.7);
Tailwind
colors: {
  custom: {
    50: '#646f4d',
    500: '#28390b',
    950: '#000000',
  },
}
SCSS
$custom: #28390b;
$custom-light: #646f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#28390b",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 11
  },
  "hsl": {
    "h": 82.174,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3188,
    "c": 0.07175,
    "h": 127.7
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#28390B
secondary
#462A76
accent
#3DEB7D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #28390B

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

Preview Lab → · Contrast checker → · Palette generator →

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