#28331E#28331E

#28331E is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.4% C 0.039 H 130.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#28331E
RGBrgb(40, 51, 30)
HSLhsl(91, 26%, 16%)
HSVhsv(91, 41%, 20%)
CMYKcmyk(21.6%, 0%, 41.2%, 80%)
CIE-LABlab(19.69, -9.36, 11.85)
CIE-LCHlch(19.69, 15.10, 128.30°)
OKLaboklab(30.44% -0.0255 0.0295)
OKLCHoklch(30.44% 0.039 130.9)
XYZxyz(2.2932, 2.9125, 1.6694)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28331E #291E33
analogous
#32331E #28331E #1E331E
triadic
#28331E #1E2833 #331E28
tetradic
#28331E #1E3233 #291E33 #331E1E
square
#28331E #1E3233 #291E33 #331E1E
split-complementary
#28331E #1E1E33 #331E32
monochromatic
#0F130B #0F130B #28331E #465A35 #64804B

Accessibility & contrast

On white

13.27
#28331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#28331E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28331E
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28331E#FFFFFF#000000##FFFFFF
##28331E1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301D
Deuteranopia (green-blind)
#332F1F
Tritanopia (blue-blind)
#29312E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #28331e;
/* rgb */ color: rgb(40, 51, 30);
/* oklch */ color: oklch(30.4% 0.039 130.9);
Tailwind
colors: {
  custom: {
    50: '#626a5a',
    500: '#28331e',
    950: '#000000',
  },
}
SCSS
$custom: #28331e;
$custom-light: #626a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#28331e",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 91.429,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.30438,
    "c": 0.03897,
    "h": 130.9
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#28331E
secondary
#574766
accent
#65C296
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #28331E

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

Preview Lab → · Contrast checker → · Palette generator →

#28331E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva