#28370D#28370D

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

Color values

HEX#28370D
RGBrgb(40, 55, 13)
HSLhsl(81, 62%, 13%)
HSVhsv(81, 76%, 22%)
CMYKcmyk(27.3%, 0%, 76.4%, 78.4%)
CIE-LABlab(20.88, -14.03, 23.42)
CIE-LCHlch(20.88, 27.30, 120.93°)
OKLaboklab(31.31% -0.04 0.0535)
OKLCHoklch(31.31% 0.067 126.8)
XYZxyz(2.3139, 3.2125, 0.8789)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28370D #1C0D37
analogous
#37310D #28370D #13370D
triadic
#28370D #0D2837 #370D28
tetradic
#28370D #0D3731 #1C0D37 #370D13
square
#28370D #0D3731 #1C0D37 #370D13
split-complementary
#28370D #0D1337 #310D37
monochromatic
#121906 #121906 #28370D #4C6819 #709A24

Accessibility & contrast

On white

12.78
#28370D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28370D
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28370D#FFFFFF#000000##FFFFFF
##28370D1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3308
Deuteranopia (green-blind)
#383210
Tritanopia (blue-blind)
#2A342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #28370d;
/* rgb */ color: rgb(40, 55, 13);
/* oklch */ color: oklch(31.3% 0.067 126.8);
Tailwind
colors: {
  custom: {
    50: '#636d4e',
    500: '#28370d',
    950: '#000000',
  },
}
SCSS
$custom: #28370d;
$custom-light: #636d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#28370d",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 13
  },
  "hsl": {
    "h": 81.429,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31311,
    "c": 0.06684,
    "h": 126.8
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#28370D
secondary
#462D72
accent
#43E57D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #28370D

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

Preview Lab → · Contrast checker → · Palette generator →

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