#2B2807#2B2807

#2B2807 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.049 H 104.1°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#2B2807
RGBrgb(43, 40, 7)
HSLhsl(55, 72%, 10%)
HSVhsv(55, 84%, 17%)
CMYKcmyk(0%, 7%, 83.7%, 83.1%)
CIE-LABlab(15.73, -3.65, 19.95)
CIE-LCHlch(15.73, 20.28, 100.38°)
OKLaboklab(27.23% -0.0121 0.048)
OKLCHoklch(27.23% 0.049 104.1)
XYZxyz(1.7935, 2.0466, 0.5015)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2807 #070A2B
analogous
#2B1607 #2B2807 #1C2B07
triadic
#2B2807 #072B28 #28072B
tetradic
#2B2807 #072B16 #070A2B #2B071C
square
#2B2807 #072B16 #070A2B #2B071C
split-complementary
#2B2807 #071C2B #16072B
monochromatic
#1A1804 #1A1804 #2B2807 #605910 #948A18

Accessibility & contrast

On white

14.90
#2B2807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2B2807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2807
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2807#FFFFFF#000000##FFFFFF
##2B28071.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2604
Deuteranopia (green-blind)
#2D2809
Tritanopia (blue-blind)
#2F2521
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b2807;
/* rgb */ color: rgb(43, 40, 7);
/* oklch */ color: oklch(27.2% 0.049 104.1);
Tailwind
colors: {
  custom: {
    50: '#65614a',
    500: '#2b2807',
    950: '#000000',
  },
}
SCSS
$custom: #2b2807;
$custom-light: #65614a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2807",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 7
  },
  "hsl": {
    "h": 55,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27228,
    "c": 0.04947,
    "h": 104.1
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#2B2807
secondary
#23296B
accent
#48EF39
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B2807

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

Preview Lab → · Contrast checker → · Palette generator →

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