#28290C#28290C

#28290C is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.2% C 0.046 H 110.9°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#28290C
RGBrgb(40, 41, 12)
HSLhsl(62, 55%, 10%)
HSVhsv(62, 71%, 16%)
CMYKcmyk(2.4%, 0%, 70.7%, 83.9%)
CIE-LABlab(15.82, -5.51, 17.91)
CIE-LCHlch(15.82, 18.74, 107.10°)
OKLaboklab(27.24% -0.0164 0.0428)
OKLCHoklch(27.24% 0.046 110.9)
XYZxyz(1.7344, 2.0636, 0.6547)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28290C #0D0C29
analogous
#291B0C #28290C #19290C
triadic
#28290C #0C2829 #290C28
tetradic
#28290C #0C291B #0D0C29 #290C19
square
#28290C #0C291B #0D0C29 #290C19
split-complementary
#28290C #0C1929 #1B0C29
monochromatic
#171807 #171807 #28290C #56581A #848828

Accessibility & contrast

On white

14.86
#28290C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#28290C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28290C
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28290C#FFFFFF#000000##FFFFFF
##28290C1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2709
Deuteranopia (green-blind)
#2D280E
Tritanopia (blue-blind)
#2B2623
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #28290c;
/* rgb */ color: rgb(40, 41, 12);
/* oklch */ color: oklch(27.2% 0.046 110.9);
Tailwind
colors: {
  custom: {
    50: '#63624c',
    500: '#28290c',
    950: '#000000',
  },
}
SCSS
$custom: #28290c;
$custom-light: #63624c;
$custom-dark: #000000;
JSON
{
  "hex": "#28290c",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 12
  },
  "hsl": {
    "h": 62.069,
    "s": 54.717,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27238,
    "c": 0.04585,
    "h": 110.9
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#28290C
secondary
#2F2D64
accent
#4ADE4F
background
#F5F5F4
surface
#EAEAE7
border
#C6C6C3
text
#050501
muted
#797977

Preview Lab

Preview with #28290C

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

Preview Lab → · Contrast checker → · Palette generator →

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