#28390C#28390C

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

Color values

HEX#28390C
RGBrgb(40, 57, 12)
HSLhsl(83, 65%, 14%)
HSVhsv(83, 79%, 22%)
CMYKcmyk(29.8%, 0%, 78.9%, 77.6%)
CIE-LABlab(21.59, -15.26, 24.67)
CIE-LCHlch(21.59, 29.01, 121.74°)
OKLaboklab(31.89% -0.0435 0.056)
OKLCHoklch(31.89% 0.071 127.9)
XYZxyz(2.4046, 3.4039, 0.8781)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28390C #1D0C39
analogous
#39330C #28390C #11390C
triadic
#28390C #0C2839 #390C28
tetradic
#28390C #0C3933 #1D0C39 #390C11
square
#28390C #0C3933 #1D0C39 #390C11
split-complementary
#28390C #0C1139 #330C39
monochromatic
#121905 #121905 #28390C #4B6C17 #6F9E21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28390C#FFFFFF#000000##FFFFFF
##28390C1.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)
#3C3406
Deuteranopia (green-blind)
#3A3310
Tritanopia (blue-blind)
#2A3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28390c;
/* rgb */ color: rgb(40, 57, 12);
/* oklch */ color: oklch(31.9% 0.071 127.9);
Tailwind
colors: {
  custom: {
    50: '#646f4e',
    500: '#28390c',
    950: '#000000',
  },
}
SCSS
$custom: #28390c;
$custom-light: #646f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#28390c",
  "rgb": {
    "r": 40,
    "g": 57,
    "b": 12
  },
  "hsl": {
    "h": 82.667,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.3189,
    "c": 0.07091,
    "h": 127.9
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#28390C
secondary
#472C75
accent
#40E87F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #28390C

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

Preview Lab → · Contrast checker → · Palette generator →

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