#28370B#28370B

#28370B is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.3% C 0.069 H 126.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#28370B
RGBrgb(40, 55, 11)
HSLhsl(80, 67%, 13%)
HSVhsv(80, 80%, 22%)
CMYKcmyk(27.3%, 0%, 80%, 78.4%)
CIE-LABlab(20.86, -14.21, 24.31)
CIE-LCHlch(20.86, 28.16, 120.30°)
OKLaboklab(31.29% -0.0407 0.0552)
OKLCHoklch(31.29% 0.069 126.4)
XYZxyz(2.3017, 3.2076, 0.8144)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28370B #1A0B37
analogous
#37300B #28370B #12370B
triadic
#28370B #0B2837 #370B28
tetradic
#28370B #0B3730 #1A0B37 #370B12
square
#28370B #0B3730 #1A0B37 #370B12
split-complementary
#28370B #0B1237 #300B37
monochromatic
#131A05 #131A05 #28370B #4D6A15 #729D1F

Accessibility & contrast

On white

12.79
#28370B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#28370B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28370B
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28370B#FFFFFF#000000##FFFFFF
##28370B1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3305
Deuteranopia (green-blind)
#38320F
Tritanopia (blue-blind)
#2A342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #28370b;
/* rgb */ color: rgb(40, 55, 11);
/* oklch */ color: oklch(31.3% 0.069 126.4);
Tailwind
colors: {
  custom: {
    50: '#646d4d',
    500: '#28370b',
    950: '#000000',
  },
}
SCSS
$custom: #28370b;
$custom-light: #646d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#28370b",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 11
  },
  "hsl": {
    "h": 80.455,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.3129,
    "c": 0.06862,
    "h": 126.4
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#28370B
secondary
#432A74
accent
#3EEA79
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #28370B

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

Preview Lab → · Contrast checker → · Palette generator →

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