#2B2E12#2B2E12

#2B2E12 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.045 H 114.3°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#2B2E12
RGBrgb(43, 46, 18)
HSLhsl(66, 44%, 13%)
HSVhsv(66, 61%, 18%)
CMYKcmyk(6.5%, 0%, 60.9%, 82%)
CIE-LABlab(17.97, -6.51, 17.43)
CIE-LCHlch(17.97, 18.61, 110.48°)
OKLaboklab(29.06% -0.0186 0.0413)
OKLCHoklch(29.06% 0.045 114.3)
XYZxyz(2.0825, 2.5113, 0.9472)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E12 #15122E
analogous
#2E2312 #2B2E12 #1D2E12
triadic
#2B2E12 #122B2E #2E122B
tetradic
#2B2E12 #122E23 #15122E #2E121D
square
#2B2E12 #122E23 #15122E #2E121D
split-complementary
#2B2E12 #121D2E #23122E
monochromatic
#151609 #151609 #2B2E12 #545A23 #7D8634

Accessibility & contrast

On white

13.98
#2B2E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2B2E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E12
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E12#FFFFFF#000000##FFFFFF
##2B2E121.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C0F
Deuteranopia (green-blind)
#312C13
Tritanopia (blue-blind)
#2E2B28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2b2e12;
/* rgb */ color: rgb(43, 46, 18);
/* oklch */ color: oklch(29.1% 0.045 114.3);
Tailwind
colors: {
  custom: {
    50: '#656650',
    500: '#2b2e12',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e12;
$custom-light: #656650;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e12",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 66.429,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29058,
    "c": 0.04529,
    "h": 114.3
  },
  "luminance": 0.02511
}

Semantic roles & 50–950 ramp

primary
#2B2E12
secondary
#3B3666
accent
#54D362
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2B2E12

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

Preview Lab → · Contrast checker → · Palette generator →

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