#2E270F#2E270F

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

Color values

HEX#2E270F
RGBrgb(46, 39, 15)
HSLhsl(46, 51%, 12%)
HSVhsv(46, 67%, 18%)
CMYKcmyk(0%, 15.2%, 67.4%, 82%)
CIE-LABlab(15.83, -0.60, 16.59)
CIE-LCHlch(15.83, 16.60, 92.07°)
OKLaboklab(27.42% -0.0023 0.0396)
OKLCHoklch(27.42% 0.04 93.4)
XYZxyz(1.9385, 2.0665, 0.7486)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E270F #0F162E
analogous
#2E180F #2E270F #262E0F
triadic
#2E270F #0F2E27 #270F2E
tetradic
#2E270F #0F2E18 #0F162E #2E0F26
square
#2E270F #0F2E18 #0F162E #2E0F26
split-complementary
#2E270F #0F262E #180F2E
monochromatic
#171408 #171408 #2E270F #5C4E1E #8A752D

Accessibility & contrast

On white

14.86
#2E270F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E270F
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E270F#FFFFFF#000000##FFFFFF
##2E270F1.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)
#2B260D
Deuteranopia (green-blind)
#2D2810
Tritanopia (blue-blind)
#322422
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e270f;
/* rgb */ color: rgb(46, 39, 15);
/* oklch */ color: oklch(27.4% 0.040 93.4);
Tailwind
colors: {
  custom: {
    50: '#68604e',
    500: '#2e270f',
    950: '#000000',
  },
}
SCSS
$custom: #2e270f;
$custom-light: #68604e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e270f",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 15
  },
  "hsl": {
    "h": 46.452,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27423,
    "c": 0.03965,
    "h": 93.4
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#2E270F
secondary
#313D68
accent
#6DDA4D
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E270F

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

Preview Lab → · Contrast checker → · Palette generator →

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