#2B2D0C#2B2D0C

#2B2D0C is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.051 H 112.4°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#2B2D0C
RGBrgb(43, 45, 12)
HSLhsl(64, 58%, 11%)
HSVhsv(64, 73%, 18%)
CMYKcmyk(4.4%, 0%, 73.3%, 82.4%)
CIE-LABlab(17.54, -6.50, 20.10)
CIE-LCHlch(17.54, 21.12, 107.92°)
OKLaboklab(28.69% -0.0194 0.047)
OKLCHoklch(28.69% 0.051 112.4)
XYZxyz(2.0011, 2.4169, 0.7089)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D0C #0E0C2D
analogous
#2D1E0C #2B2D0C #1A2D0C
triadic
#2B2D0C #0C2B2D #2D0C2B
tetradic
#2B2D0C #0C2D1E #0E0C2D #2D0C1A
square
#2B2D0C #0C2D1E #0E0C2D #2D0C1A
split-complementary
#2B2D0C #0C1A2D #1E0C2D
monochromatic
#171806 #171806 #2B2D0C #595D19 #878E26

Accessibility & contrast

On white

14.16
#2B2D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2B2D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D0C
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D0C#FFFFFF#000000##FFFFFF
##2B2D0C1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B08
Deuteranopia (green-blind)
#312B0E
Tritanopia (blue-blind)
#2E2A26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b2d0c;
/* rgb */ color: rgb(43, 45, 12);
/* oklch */ color: oklch(28.7% 0.051 112.4);
Tailwind
colors: {
  custom: {
    50: '#65654d',
    500: '#2b2d0c',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d0c;
$custom-light: #65654d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d0c",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 63.636,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28688,
    "c": 0.05084,
    "h": 112.4
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#2B2D0C
secondary
#302C69
accent
#47E150
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2B2D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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