#2B270D#2B270D

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

Color values

HEX#2B270D
RGBrgb(43, 39, 13)
HSLhsl(52, 54%, 11%)
HSVhsv(52, 70%, 17%)
CMYKcmyk(0%, 9.3%, 69.8%, 83.1%)
CIE-LABlab(15.45, -2.44, 17.05)
CIE-LCHlch(15.45, 17.22, 98.15°)
OKLaboklab(27.03% -0.0077 0.0409)
OKLCHoklch(27.03% 0.042 100.7)
XYZxyz(1.7945, 1.9938, 0.6710)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B270D #0D112B
analogous
#2B180D #2B270D #202B0D
triadic
#2B270D #0D2B27 #270D2B
tetradic
#2B270D #0D2B18 #0D112B #2B0D20
square
#2B270D #0D2B18 #0D112B #2B0D20
split-complementary
#2B270D #0D202B #180D2B
monochromatic
#171507 #171507 #2B270D #5A521B #897C29

Accessibility & contrast

On white

15.01
#2B270D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B270D
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B270D#FFFFFF#000000##FFFFFF
##2B270D1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b270d;
/* rgb */ color: rgb(43, 39, 13);
/* oklch */ color: oklch(27.0% 0.042 100.7);
Tailwind
colors: {
  custom: {
    50: '#65604d',
    500: '#2b270d',
    950: '#000000',
  },
}
SCSS
$custom: #2b270d;
$custom-light: #65604d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b270d",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 13
  },
  "hsl": {
    "h": 52,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27032,
    "c": 0.04164,
    "h": 100.7
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#2B270D
secondary
#2E3666
accent
#5EDD4B
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B270D

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

Preview Lab → · Contrast checker → · Palette generator →

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