#28390A#28390A

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

Color values

HEX#28390A
RGBrgb(40, 57, 10)
HSLhsl(82, 70%, 13%)
HSVhsv(82, 82%, 22%)
CMYKcmyk(29.8%, 0%, 82.5%, 77.6%)
CIE-LABlab(21.58, -15.42, 25.51)
CIE-LCHlch(21.58, 29.81, 121.15°)
OKLaboklab(31.87% -0.0442 0.0576)
OKLCHoklch(31.87% 0.073 127.5)
XYZxyz(2.3930, 3.3992, 0.8171)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28390A #1B0A39
analogous
#39320A #28390A #10390A
triadic
#28390A #0A2839 #390A28
tetradic
#28390A #0A3932 #1B0A39 #390A10
square
#28390A #0A3932 #1B0A39 #390A10
split-complementary
#28390A #0A1039 #320A39
monochromatic
#121A05 #121A05 #28390A #4D6D13 #71A11C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28390A#FFFFFF#000000##FFFFFF
##28390A1.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)
#3C3404
Deuteranopia (green-blind)
#3A330E
Tritanopia (blue-blind)
#2A3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28390a;
/* rgb */ color: rgb(40, 57, 10);
/* oklch */ color: oklch(31.9% 0.073 127.5);
Tailwind
colors: {
  custom: {
    50: '#646f4d',
    500: '#28390a',
    950: '#000000',
  },
}
SCSS
$custom: #28390a;
$custom-light: #646f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#28390a",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 10
  },
  "hsl": {
    "h": 81.702,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.3187,
    "c": 0.07255,
    "h": 127.5
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#28390A
secondary
#452876
accent
#3BED7B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #28390A

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

Preview Lab → · Contrast checker → · Palette generator →

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