#2B270B#2B270B

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

Color values

HEX#2B270B
RGBrgb(43, 39, 11)
HSLhsl(53, 59%, 11%)
HSVhsv(53, 74%, 17%)
CMYKcmyk(0%, 9.3%, 74.4%, 83.1%)
CIE-LABlab(15.43, -2.63, 17.93)
CIE-LCHlch(15.43, 18.12, 98.36°)
OKLaboklab(27% -0.0086 0.0431)
OKLCHoklch(27% 0.044 101.2)
XYZxyz(1.7823, 1.9889, 0.6066)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B270B #0B0F2B
analogous
#2B170B #2B270B #1F2B0B
triadic
#2B270B #0B2B27 #270B2B
tetradic
#2B270B #0B2B17 #0B0F2B #2B0B1F
square
#2B270B #0B2B17 #0B0F2B #2B0B1F
split-complementary
#2B270B #0B1F2B #170B2B
monochromatic
#181606 #181606 #2B270B #5C5317 #8C7F24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B270B#FFFFFF#000000##FFFFFF
##2B270B1.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)
#2B2608
Deuteranopia (green-blind)
#2C270C
Tritanopia (blue-blind)
#2F2421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b270b;
/* rgb */ color: rgb(43, 39, 11);
/* oklch */ color: oklch(27.0% 0.044 101.2);
Tailwind
colors: {
  custom: {
    50: '#65604c',
    500: '#2b270b',
    950: '#000000',
  },
}
SCSS
$custom: #2b270b;
$custom-light: #65604c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b270b",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 11
  },
  "hsl": {
    "h": 52.5,
    "s": 59.259,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27003,
    "c": 0.04394,
    "h": 101.2
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#2B270B
secondary
#2B3267
accent
#59E245
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B270B

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

Preview Lab → · Contrast checker → · Palette generator →

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