#28331A#28331A

#28331A is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.045 H 128.2°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#28331A
RGBrgb(40, 51, 26)
HSLhsl(86, 32%, 15%)
HSVhsv(86, 49%, 20%)
CMYKcmyk(21.6%, 0%, 49%, 80%)
CIE-LABlab(19.61, -10.03, 14.35)
CIE-LCHlch(19.61, 17.51, 124.95°)
OKLaboklab(30.35% -0.0276 0.0351)
OKLCHoklch(30.35% 0.045 128.2)
XYZxyz(2.2453, 2.8933, 1.4173)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28331A #251A33
analogous
#33321A #28331A #1B331A
triadic
#28331A #1A2833 #331A28
tetradic
#28331A #1A3332 #251A33 #331A1B
square
#28331A #1A3332 #251A33 #331A1B
split-complementary
#28331A #1A1B33 #321A33
monochromatic
#10140A #10140A #28331A #485C2F #688443

Accessibility & contrast

On white

13.30
#28331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28331A
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28331A#FFFFFF#000000##FFFFFF
##28331A1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353018
Deuteranopia (green-blind)
#342F1B
Tritanopia (blue-blind)
#29312D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #28331a;
/* rgb */ color: rgb(40, 51, 26);
/* oklch */ color: oklch(30.3% 0.045 128.2);
Tailwind
colors: {
  custom: {
    50: '#626a57',
    500: '#28331a',
    950: '#000000',
  },
}
SCSS
$custom: #28331a;
$custom-light: #626a57;
$custom-dark: #000000;
JSON
{
  "hex": "#28331a",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 86.4,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.30349,
    "c": 0.04464,
    "h": 128.2
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#28331A
secondary
#524168
accent
#5FC98E
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #28331A

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

Preview Lab → · Contrast checker → · Palette generator →

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