#2B2C0F#2B2C0F

#2B2C0F is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.4% C 0.046 H 110.8°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#2B2C0F
RGBrgb(43, 44, 15)
HSLhsl(62, 49%, 12%)
HSVhsv(62, 66%, 17%)
CMYKcmyk(2.3%, 0%, 65.9%, 82.7%)
CIE-LABlab(17.22, -5.56, 18.24)
CIE-LCHlch(17.22, 19.07, 106.94°)
OKLaboklab(28.45% -0.0163 0.043)
OKLCHoklch(28.45% 0.046 110.8)
XYZxyz(1.9832, 2.3495, 0.8009)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C0F #100F2C
analogous
#2C1F0F #2B2C0F #1D2C0F
triadic
#2B2C0F #0F2B2C #2C0F2B
tetradic
#2B2C0F #0F2C1F #100F2C #2C0F1D
square
#2B2C0F #0F2C1F #100F2C #2C0F1D
split-complementary
#2B2C0F #0F1D2C #1F0F2C
monochromatic
#161708 #161708 #2B2C0F #585A1F #84872E

Accessibility & contrast

On white

14.29
#2B2C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2B2C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C0F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C0F#FFFFFF#000000##FFFFFF
##2B2C0F1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#302B11
Tritanopia (blue-blind)
#2E2926
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2b2c0f;
/* rgb */ color: rgb(43, 44, 15);
/* oklch */ color: oklch(28.4% 0.046 110.8);
Tailwind
colors: {
  custom: {
    50: '#65644e',
    500: '#2b2c0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c0f;
$custom-light: #65644e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c0f",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 15
  },
  "hsl": {
    "h": 62.069,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28449,
    "c": 0.04596,
    "h": 110.8
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#2B2C0F
secondary
#333165
accent
#4FD954
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2B2C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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