#2B2F0A#2B2F0A

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

Color values

HEX#2B2F0A
RGBrgb(43, 47, 10)
HSLhsl(66, 65%, 11%)
HSVhsv(66, 79%, 18%)
CMYKcmyk(8.5%, 0%, 78.7%, 81.6%)
CIE-LABlab(18.23, -7.95, 21.78)
CIE-LCHlch(18.23, 23.19, 110.05°)
OKLaboklab(29.23% -0.0237 0.0505)
OKLCHoklch(29.23% 0.056 115.2)
XYZxyz(2.0676, 2.5686, 0.6740)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F0A #0E0A2F
analogous
#2F200A #2B2F0A #182F0A
triadic
#2B2F0A #0A2B2F #2F0A2B
tetradic
#2B2F0A #0A2F20 #0E0A2F #2F0A18
square
#2B2F0A #0A2F20 #0E0A2F #2F0A18
split-complementary
#2B2F0A #0A182F #200A2F
monochromatic
#171905 #171905 #2B2F0A #596115 #87941F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2F0A#FFFFFF#000000##FFFFFF
##2B2F0A1.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)
#332C06
Deuteranopia (green-blind)
#332D0D
Tritanopia (blue-blind)
#2E2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2b2f0a;
/* rgb */ color: rgb(43, 47, 10);
/* oklch */ color: oklch(29.2% 0.056 115.2);
Tailwind
colors: {
  custom: {
    50: '#65674c',
    500: '#2b2f0a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f0a;
$custom-light: #65674c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f0a",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 66.486,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29232,
    "c": 0.05575,
    "h": 115.2
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#2B2F0A
secondary
#30296C
accent
#40E852
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B2F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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