#2B2D07#2B2D07

#2B2D07 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.056 H 112.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#2B2D07
RGBrgb(43, 45, 7)
HSLhsl(63, 73%, 10%)
HSVhsv(63, 84%, 18%)
CMYKcmyk(4.4%, 0%, 84.4%, 82.4%)
CIE-LABlab(17.49, -6.92, 22.12)
CIE-LCHlch(17.49, 23.18, 107.38°)
OKLaboklab(28.63% -0.0213 0.0517)
OKLCHoklch(28.63% 0.056 112.4)
XYZxyz(1.9731, 2.4057, 0.5614)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D07 #09072D
analogous
#2D1C07 #2B2D07 #182D07
triadic
#2B2D07 #072B2D #2D072B
tetradic
#2B2D07 #072D1C #09072D #2D0718
square
#2B2D07 #072D1C #09072D #2D0718
split-complementary
#2B2D07 #07182D #1C072D
monochromatic
#191A04 #191A04 #2B2D07 #5E620F #909717

Accessibility & contrast

On white

14.18
#2B2D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2B2D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D07
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D07#FFFFFF#000000##FFFFFF
##2B2D071.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A03
Deuteranopia (green-blind)
#312B0A
Tritanopia (blue-blind)
#2F2A25
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b2d07;
/* rgb */ color: rgb(43, 45, 7);
/* oklch */ color: oklch(28.6% 0.056 112.4);
Tailwind
colors: {
  custom: {
    50: '#66654a',
    500: '#2b2d07',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d07;
$custom-light: #66654a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d07",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 7
  },
  "hsl": {
    "h": 63.158,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2863,
    "c": 0.05588,
    "h": 112.4
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#2B2D07
secondary
#27236D
accent
#38F042
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2B2D07

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

Preview Lab → · Contrast checker → · Palette generator →

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