#28341C#28341C

#28341C is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.7% C 0.044 H 130.3°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#28341C
RGBrgb(40, 52, 28)
HSLhsl(90, 30%, 16%)
HSVhsv(90, 46%, 20%)
CMYKcmyk(23.1%, 0%, 46.2%, 79.6%)
CIE-LABlab(20.01, -10.32, 13.57)
CIE-LCHlch(20.01, 17.05, 127.25°)
OKLaboklab(30.68% -0.0283 0.0334)
OKLCHoklch(30.68% 0.044 130.3)
XYZxyz(2.3126, 2.9909, 1.5538)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28341C #281C34
analogous
#34341C #28341C #1C341C
triadic
#28341C #1C2834 #341C28
tetradic
#28341C #1C3434 #281C34 #341C1C
square
#28341C #1C3434 #281C34 #341C1C
split-complementary
#28341C #1C1C34 #341C34
monochromatic
#0F140B #0F140B #28341C #475C31 #658447

Accessibility & contrast

On white

13.14
#28341C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#28341C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28341C
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28341C#FFFFFF#000000##FFFFFF
##28341C1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311A
Deuteranopia (green-blind)
#34301D
Tritanopia (blue-blind)
#29322E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #28341c;
/* rgb */ color: rgb(40, 52, 28);
/* oklch */ color: oklch(30.7% 0.044 130.3);
Tailwind
colors: {
  custom: {
    50: '#626b58',
    500: '#28341c',
    950: '#000000',
  },
}
SCSS
$custom: #28341c;
$custom-light: #626b58;
$custom-dark: #000000;
JSON
{
  "hex": "#28341c",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 30,
    "l": 15.686
  },
  "oklch": {
    "l": 0.3068,
    "c": 0.04376,
    "h": 130.3
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#28341C
secondary
#564468
accent
#62C694
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #28341C

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

Preview Lab → · Contrast checker → · Palette generator →

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