#2B2F12#2B2F12

#2B2F12 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.3% C 0.047 H 115.9°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#2B2F12
RGBrgb(43, 47, 18)
HSLhsl(68, 45%, 13%)
HSVhsv(68, 62%, 18%)
CMYKcmyk(8.5%, 0%, 61.7%, 81.6%)
CIE-LABlab(18.32, -7.15, 17.85)
CIE-LCHlch(18.32, 19.23, 111.82°)
OKLaboklab(29.34% -0.0204 0.0422)
OKLCHoklch(29.34% 0.047 115.9)
XYZxyz(2.1220, 2.5903, 0.9603)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F12 #16122F
analogous
#2F2412 #2B2F12 #1C2F12
triadic
#2B2F12 #122B2F #2F122B
tetradic
#2B2F12 #122F24 #16122F #2F121C
square
#2B2F12 #122F24 #16122F #2F121C
split-complementary
#2B2F12 #121C2F #24122F
monochromatic
#141608 #141608 #2B2F12 #535B23 #7C8834

Accessibility & contrast

On white

13.83
#2B2F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2B2F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F12
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F12#FFFFFF#000000##FFFFFF
##2B2F121.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D0F
Deuteranopia (green-blind)
#322D14
Tritanopia (blue-blind)
#2E2C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b2f12;
/* rgb */ color: rgb(43, 47, 18);
/* oklch */ color: oklch(29.3% 0.047 115.9);
Tailwind
colors: {
  custom: {
    50: '#656750',
    500: '#2b2f12',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f12;
$custom-light: #656750;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f12",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 68.276,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2934,
    "c": 0.04688,
    "h": 115.9
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#2B2F12
secondary
#3D3667
accent
#53D465
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2B2F12

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

Preview Lab → · Contrast checker → · Palette generator →

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