#272811#272811

#272811 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 26.9% C 0.038 H 110.9°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#272811
RGBrgb(39, 40, 17)
HSLhsl(63, 40%, 11%)
HSVhsv(63, 58%, 16%)
CMYKcmyk(2.5%, 0%, 57.5%, 84.3%)
CIE-LABlab(15.43, -4.81, 14.81)
CIE-LCHlch(15.43, 15.57, 107.98°)
OKLaboklab(26.93% -0.0136 0.0357)
OKLCHoklch(26.93% 0.038 110.9)
XYZxyz(1.6967, 1.9894, 0.8248)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272811 #121128
analogous
#281D11 #272811 #1B2811
triadic
#272811 #112728 #281127
tetradic
#272811 #11281D #121128 #28111B
square
#272811 #11281D #121128 #28111B
split-complementary
#272811 #111B28 #1D1128
monochromatic
#151509 #151509 #272811 #515323 #7B7E36

Accessibility & contrast

On white

15.02
#272811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#272811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272811
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272811#FFFFFF#000000##FFFFFF
##2728111.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260F
Deuteranopia (green-blind)
#2B2712
Tritanopia (blue-blind)
#2A2623
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #272811;
/* rgb */ color: rgb(39, 40, 17);
/* oklch */ color: oklch(26.9% 0.038 110.9);
Tailwind
colors: {
  custom: {
    50: '#62614f',
    500: '#272811',
    950: '#000000',
  },
}
SCSS
$custom: #272811;
$custom-light: #62614f;
$custom-dark: #000000;
JSON
{
  "hex": "#272811",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 62.609,
    "s": 40.351,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26929,
    "c": 0.03821,
    "h": 110.9
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#272811
secondary
#37355F
accent
#58D05D
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050502
muted
#797978

Preview Lab

Preview with #272811

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

Preview Lab → · Contrast checker → · Palette generator →

#272811 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva