#2B270F#2B270F

#2B270F is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.039 H 100.0°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#2B270F
RGBrgb(43, 39, 15)
HSLhsl(51, 48%, 11%)
HSVhsv(51, 65%, 17%)
CMYKcmyk(0%, 9.3%, 65.1%, 83.1%)
CIE-LABlab(15.48, -2.23, 16.07)
CIE-LCHlch(15.48, 16.23, 97.89°)
OKLaboklab(27.06% -0.0068 0.0386)
OKLCHoklch(27.06% 0.039 100)
XYZxyz(1.8081, 1.9992, 0.7425)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B270F #0F132B
analogous
#2B190F #2B270F #212B0F
triadic
#2B270F #0F2B27 #270F2B
tetradic
#2B270F #0F2B19 #0F132B #2B0F21
square
#2B270F #0F2B19 #0F132B #2B0F21
split-complementary
#2B270F #0F212B #190F2B
monochromatic
#171508 #171508 #2B270F #58501F #86792F

Accessibility & contrast

On white

15.00
#2B270F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B270F
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B270F#FFFFFF#000000##FFFFFF
##2B270F1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b270f;
/* rgb */ color: rgb(43, 39, 15);
/* oklch */ color: oklch(27.1% 0.039 100.0);
Tailwind
colors: {
  custom: {
    50: '#65604e',
    500: '#2b270f',
    950: '#000000',
  },
}
SCSS
$custom: #2b270f;
$custom-light: #65604e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b270f",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 15
  },
  "hsl": {
    "h": 51.429,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27064,
    "c": 0.03917,
    "h": 100
  },
  "luminance": 0.01999
}

Semantic roles & 50–950 ramp

primary
#2B270F
secondary
#323964
accent
#63D850
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B270F

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

Preview Lab → · Contrast checker → · Palette generator →

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