#2B270C#2B270C

#2B270C is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.0% C 0.043 H 101.0°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#2B270C
RGBrgb(43, 39, 12)
HSLhsl(52, 56%, 11%)
HSVhsv(52, 72%, 17%)
CMYKcmyk(0%, 9.3%, 72.1%, 83.1%)
CIE-LABlab(15.44, -2.54, 17.50)
CIE-LCHlch(15.44, 17.68, 98.25°)
OKLaboklab(27.02% -0.0081 0.042)
OKLCHoklch(27.02% 0.043 101)
XYZxyz(1.7882, 1.9912, 0.6379)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B270C #0C102B
analogous
#2B170C #2B270C #1F2B0C
triadic
#2B270C #0C2B27 #270C2B
tetradic
#2B270C #0C2B17 #0C102B #2B0C1F
square
#2B270C #0C2B17 #0C102B #2B0C1F
split-complementary
#2B270C #0C1F2B #170C2B
monochromatic
#181607 #181607 #2B270C #5B5219 #8B7E27

Accessibility & contrast

On white

15.02
#2B270C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2B270C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B270C#FFFFFF#000000##FFFFFF
##2B270C1.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)
#2B2609
Deuteranopia (green-blind)
#2C270D
Tritanopia (blue-blind)
#2F2421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b270c;
/* rgb */ color: rgb(43, 39, 12);
/* oklch */ color: oklch(27.0% 0.043 101.0);
Tailwind
colors: {
  custom: {
    50: '#65604c',
    500: '#2b270c',
    950: '#000000',
  },
}
SCSS
$custom: #2b270c;
$custom-light: #65604c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b270c",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 12
  },
  "hsl": {
    "h": 52.258,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27017,
    "c": 0.04281,
    "h": 101
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#2B270C
secondary
#2C3466
accent
#5CE048
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B270C

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

Preview Lab → · Contrast checker → · Palette generator →

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