#2E270C#2E270C

#2E270C is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.043 H 94.8°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#2E270C
RGBrgb(46, 39, 12)
HSLhsl(48, 59%, 11%)
HSVhsv(48, 74%, 18%)
CMYKcmyk(0%, 15.2%, 73.9%, 82%)
CIE-LABlab(15.79, -0.89, 18.02)
CIE-LCHlch(15.79, 18.04, 92.83°)
OKLaboklab(27.38% -0.0036 0.043)
OKLCHoklch(27.38% 0.043 94.8)
XYZxyz(1.9187, 2.0585, 0.6440)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E270C #0C132E
analogous
#2E160C #2E270C #242E0C
triadic
#2E270C #0C2E27 #270C2E
tetradic
#2E270C #0C2E16 #0C132E #2E0C24
square
#2E270C #0C2E16 #0C132E #2E0C24
split-complementary
#2E270C #0C242E #160C2E
monochromatic
#181506 #181506 #2E270C #5F5019 #8F7925

Accessibility & contrast

On white

14.88
#2E270C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2E270C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E270C
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E270C#FFFFFF#000000##FFFFFF
##2E270C1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2609
Deuteranopia (green-blind)
#2D280D
Tritanopia (blue-blind)
#322421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e270c;
/* rgb */ color: rgb(46, 39, 12);
/* oklch */ color: oklch(27.4% 0.043 94.8);
Tailwind
colors: {
  custom: {
    50: '#68604c',
    500: '#2e270c',
    950: '#000000',
  },
}
SCSS
$custom: #2e270c;
$custom-light: #68604c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e270c",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 12
  },
  "hsl": {
    "h": 47.647,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27378,
    "c": 0.04314,
    "h": 94.8
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#2E270C
secondary
#2C396A
accent
#66E246
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E270C

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

Preview Lab → · Contrast checker → · Palette generator →

#2E270C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva