#28370A#28370A

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

Color values

HEX#28370A
RGBrgb(40, 55, 10)
HSLhsl(80, 69%, 13%)
HSVhsv(80, 82%, 22%)
CMYKcmyk(27.3%, 0%, 81.8%, 78.4%)
CIE-LABlab(20.85, -14.29, 24.72)
CIE-LCHlch(20.85, 28.55, 120.03°)
OKLaboklab(31.28% -0.0411 0.056)
OKLCHoklch(31.28% 0.069 126.2)
XYZxyz(2.2961, 3.2054, 0.7848)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28370A #190A37
analogous
#372F0A #28370A #11370A
triadic
#28370A #0A2837 #370A28
tetradic
#28370A #0A372F #190A37 #370A11
square
#28370A #0A372F #190A37 #370A11
split-complementary
#28370A #0A1137 #2F0A37
monochromatic
#131A05 #131A05 #28370A #4E6B13 #739F1D

Accessibility & contrast

On white

12.80
#28370A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28370A
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28370A#FFFFFF#000000##FFFFFF
##28370A1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28370a;
/* rgb */ color: rgb(40, 55, 10);
/* oklch */ color: oklch(31.3% 0.069 126.2);
Tailwind
colors: {
  custom: {
    50: '#646d4c',
    500: '#28370a',
    950: '#000000',
  },
}
SCSS
$custom: #28370a;
$custom-light: #646d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#28370a",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 10
  },
  "hsl": {
    "h": 80,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.3128,
    "c": 0.06946,
    "h": 126.2
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#28370A
secondary
#422874
accent
#3CEC77
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050701
muted
#7A7A77

Preview Lab

Preview with #28370A

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

Preview Lab → · Contrast checker → · Palette generator →

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