#2B2F0B#2B2F0B

#2B2F0B is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.2% C 0.055 H 115.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#2B2F0B
RGBrgb(43, 47, 11)
HSLhsl(67, 62%, 11%)
HSVhsv(67, 77%, 18%)
CMYKcmyk(8.5%, 0%, 76.6%, 81.6%)
CIE-LABlab(18.24, -7.87, 21.38)
CIE-LCHlch(18.24, 22.78, 110.20°)
OKLaboklab(29.24% -0.0234 0.0495)
OKLCHoklch(29.24% 0.055 115.3)
XYZxyz(2.0732, 2.5708, 0.7035)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F0B #0F0B2F
analogous
#2F210B #2B2F0B #192F0B
triadic
#2B2F0B #0B2B2F #2F0B2B
tetradic
#2B2F0B #0B2F21 #0F0B2F #2F0B19
square
#2B2F0B #0B2F21 #0F0B2F #2F0B19
split-complementary
#2B2F0B #0B192F #210B2F
monochromatic
#171906 #171906 #2B2F0B #586117 #869222

Accessibility & contrast

On white

13.87
#2B2F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2B2F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F0B
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F0B#FFFFFF#000000##FFFFFF
##2B2F0B1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C07
Deuteranopia (green-blind)
#332D0D
Tritanopia (blue-blind)
#2E2C28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2b2f0b;
/* rgb */ color: rgb(43, 47, 11);
/* oklch */ color: oklch(29.2% 0.055 115.3);
Tailwind
colors: {
  custom: {
    50: '#65674c',
    500: '#2b2f0b',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f0b;
$custom-light: #65674c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f0b",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 66.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29243,
    "c": 0.05478,
    "h": 115.3
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#2B2F0B
secondary
#322A6B
accent
#43E555
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B2F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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