#2B2904#2B2904

#2B2904 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.054 H 106.4°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#2B2904
RGBrgb(43, 41, 4)
HSLhsl(57, 83%, 9%)
HSVhsv(57, 91%, 17%)
CMYKcmyk(0%, 4.7%, 90.7%, 83.1%)
CIE-LABlab(16.05, -4.58, 21.57)
CIE-LCHlch(16.05, 22.05, 101.98°)
OKLaboklab(27.47% -0.0152 0.0518)
OKLCHoklch(27.47% 0.054 106.4)
XYZxyz(1.8112, 2.1083, 0.4264)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2904 #04062B
analogous
#2B1604 #2B2904 #1A2B04
triadic
#2B2904 #042B29 #29042B
tetradic
#2B2904 #042B16 #04062B #2B041A
square
#2B2904 #042B16 #04062B #2B041A
split-complementary
#2B2904 #041A2B #16042B
monochromatic
#1C1B03 #1C1B03 #2B2904 #635E09 #9B940E

Accessibility & contrast

On white

14.77
#2B2904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2B2904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2904
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2904#FFFFFF#000000##FFFFFF
##2B29041.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2E2906
Tritanopia (blue-blind)
#2F2522
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b2904;
/* rgb */ color: rgb(43, 41, 4);
/* oklch */ color: oklch(27.5% 0.054 106.4);
Tailwind
colors: {
  custom: {
    50: '#656248',
    500: '#2b2904',
    950: '#000000',
  },
}
SCSS
$custom: #2b2904;
$custom-light: #656248;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2904",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 4
  },
  "hsl": {
    "h": 56.923,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27469,
    "c": 0.05402,
    "h": 106.4
  },
  "luminance": 0.02108
}

Semantic roles & 50–950 ramp

primary
#2B2904
secondary
#1D216E
accent
#39F92E
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2904

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

Preview Lab → · Contrast checker → · Palette generator →

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