#2B2207#2B2207

#2B2207 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.6% C 0.043 H 90.5°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#2B2207
RGBrgb(43, 34, 7)
HSLhsl(45, 72%, 10%)
HSVhsv(45, 84%, 17%)
CMYKcmyk(0%, 20.9%, 83.7%, 83.1%)
CIE-LABlab(13.67, 0.44, 17.28)
CIE-LCHlch(13.67, 17.29, 88.54°)
OKLaboklab(25.6% -0.0004 0.0435)
OKLCHoklch(25.6% 0.043 90.5)
XYZxyz(1.6067, 1.6731, 0.4393)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2207 #07102B
analogous
#2B1007 #2B2207 #222B07
triadic
#2B2207 #072B22 #22072B
tetradic
#2B2207 #072B10 #07102B #2B0722
square
#2B2207 #072B10 #07102B #2B0722
split-complementary
#2B2207 #07222B #10072B
monochromatic
#1A1504 #1A1504 #2B2207 #604C10 #947518

Accessibility & contrast

On white

15.74
#2B2207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2B2207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2207
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2207#FFFFFF#000000##FFFFFF
##2B22071.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272105
Deuteranopia (green-blind)
#292408
Tritanopia (blue-blind)
#2F1E1C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2b2207;
/* rgb */ color: rgb(43, 34, 7);
/* oklch */ color: oklch(25.6% 0.043 90.5);
Tailwind
colors: {
  custom: {
    50: '#655c4a',
    500: '#2b2207',
    950: '#000000',
  },
}
SCSS
$custom: #2b2207;
$custom-light: #655c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2207",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 7
  },
  "hsl": {
    "h": 45,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25595,
    "c": 0.04349,
    "h": 90.5
  },
  "luminance": 0.01673
}

Semantic roles & 50–950 ramp

primary
#2B2207
secondary
#23356B
accent
#66EF39
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2B2207

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

Preview Lab → · Contrast checker → · Palette generator →

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