#2B270A#2B270A

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

Color values

HEX#2B270A
RGBrgb(43, 39, 10)
HSLhsl(53, 62%, 10%)
HSVhsv(53, 77%, 17%)
CMYKcmyk(0%, 9.3%, 76.7%, 83.1%)
CIE-LABlab(15.42, -2.72, 18.33)
CIE-LCHlch(15.42, 18.53, 98.45°)
OKLaboklab(26.99% -0.009 0.0441)
OKLCHoklch(26.99% 0.045 101.5)
XYZxyz(1.7766, 1.9866, 0.5770)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B270A #0A0E2B
analogous
#2B160A #2B270A #1E2B0A
triadic
#2B270A #0A2B27 #270A2B
tetradic
#2B270A #0A2B16 #0A0E2B #2B0A1E
square
#2B270A #0A2B16 #0A0E2B #2B0A1E
split-complementary
#2B270A #0A1E2B #160A2B
monochromatic
#191706 #191706 #2B270A #5D5416 #8E8121

Accessibility & contrast

On white

15.03
#2B270A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B270A
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B270A#FFFFFF#000000##FFFFFF
##2B270A1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2607
Deuteranopia (green-blind)
#2C270C
Tritanopia (blue-blind)
#2F2421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b270a;
/* rgb */ color: rgb(43, 39, 10);
/* oklch */ color: oklch(27.0% 0.045 101.5);
Tailwind
colors: {
  custom: {
    50: '#65604b',
    500: '#2b270a',
    950: '#000000',
  },
}
SCSS
$custom: #2b270a;
$custom-light: #65604b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b270a",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 10
  },
  "hsl": {
    "h": 52.727,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2699,
    "c": 0.04503,
    "h": 101.5
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#2B270A
secondary
#293068
accent
#56E542
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B270A

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

Preview Lab → · Contrast checker → · Palette generator →

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