#2B2707#2B2707

#2B2707 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.0% C 0.048 H 102.2°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#2B2707
RGBrgb(43, 39, 7)
HSLhsl(53, 72%, 10%)
HSVhsv(53, 84%, 17%)
CMYKcmyk(0%, 9.3%, 83.7%, 83.1%)
CIE-LABlab(15.38, -2.98, 19.51)
CIE-LCHlch(15.38, 19.73, 98.69°)
OKLaboklab(26.95% -0.0102 0.0472)
OKLCHoklch(26.95% 0.048 102.2)
XYZxyz(1.7602, 1.9800, 0.4904)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2707 #070B2B
analogous
#2B1507 #2B2707 #1D2B07
triadic
#2B2707 #072B27 #27072B
tetradic
#2B2707 #072B15 #070B2B #2B071D
square
#2B2707 #072B15 #070B2B #2B071D
split-complementary
#2B2707 #071D2B #15072B
monochromatic
#1A1804 #1A1804 #2B2707 #605710 #948618

Accessibility & contrast

On white

15.04
#2B2707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2B2707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2707
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2707#FFFFFF#000000##FFFFFF
##2B27071.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2504
Deuteranopia (green-blind)
#2D2709
Tritanopia (blue-blind)
#2F2420
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2b2707;
/* rgb */ color: rgb(43, 39, 7);
/* oklch */ color: oklch(27.0% 0.048 102.2);
Tailwind
colors: {
  custom: {
    50: '#65604a',
    500: '#2b2707',
    950: '#000000',
  },
}
SCSS
$custom: #2b2707;
$custom-light: #65604a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2707",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 7
  },
  "hsl": {
    "h": 53.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26952,
    "c": 0.04831,
    "h": 102.2
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#2B2707
secondary
#232B6B
accent
#4DEF39
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B2707

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

Preview Lab → · Contrast checker → · Palette generator →

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