#2B2700#2B2700

#2B2700 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 26.9% C 0.057 H 103.7°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#2B2700
RGBrgb(43, 39, 0)
HSLhsl(54, 100%, 8%)
HSVhsv(54, 100%, 17%)
CMYKcmyk(0%, 9.3%, 100%, 83.1%)
CIE-LABlab(15.30, -3.60, 22.25)
CIE-LCHlch(15.30, 22.54, 99.19°)
OKLaboklab(26.86% -0.0134 0.055)
OKLCHoklch(26.86% 0.057 103.7)
XYZxyz(1.7219, 1.9647, 0.2885)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2700 #00042B
analogous
#2B1100 #2B2700 #192B00
triadic
#2B2700 #002B27 #27002B
tetradic
#2B2700 #002B11 #00042B #2B0019
square
#2B2700 #002B11 #00042B #2B0019
split-complementary
#2B2700 #00192B #11002B
monochromatic
#1F1C00 #1F1C00 #2B2700 #685F00 #A59600

Accessibility & contrast

On white

15.08
#2B2700 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2B2700 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2700
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2700#FFFFFF#000000##FFFFFF
##2B27001.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2500
Deuteranopia (green-blind)
#2D2702
Tritanopia (blue-blind)
#2F2320
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2b2700;
/* rgb */ color: rgb(43, 39, 0);
/* oklch */ color: oklch(26.9% 0.057 103.7);
Tailwind
colors: {
  custom: {
    50: '#666046',
    500: '#2b2700',
    950: '#000000',
  },
}
SCSS
$custom: #2b2700;
$custom-light: #666046;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2700",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 0
  },
  "hsl": {
    "h": 54.419,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26861,
    "c": 0.05663,
    "h": 103.7
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#2B2700
secondary
#141D73
accent
#3DFF29
background
#F6F5F3
surface
#EBE9E5
border
#C6C5C1
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2700

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

Preview Lab → · Contrast checker → · Palette generator →

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