#2B2905#2B2905

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

Color values

HEX#2B2905
RGBrgb(43, 41, 5)
HSLhsl(57, 79%, 9%)
HSVhsv(57, 88%, 17%)
CMYKcmyk(0%, 4.7%, 88.4%, 83.1%)
CIE-LABlab(16.06, -4.49, 21.17)
CIE-LCHlch(16.06, 21.64, 101.97°)
OKLaboklab(27.48% -0.0148 0.0508)
OKLCHoklch(27.48% 0.053 106.3)
XYZxyz(1.8167, 2.1105, 0.4552)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2905 #05072B
analogous
#2B1605 #2B2905 #1A2B05
triadic
#2B2905 #052B29 #29052B
tetradic
#2B2905 #052B16 #05072B #2B051A
square
#2B2905 #052B16 #05072B #2B051A
split-complementary
#2B2905 #051A2B #16052B
monochromatic
#1B1A03 #1B1A03 #2B2905 #625D0B #999212

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2905#FFFFFF#000000##FFFFFF
##2B29051.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)
#2D2701
Deuteranopia (green-blind)
#2E2907
Tritanopia (blue-blind)
#2F2622
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b2905;
/* rgb */ color: rgb(43, 41, 5);
/* oklch */ color: oklch(27.5% 0.053 106.3);
Tailwind
colors: {
  custom: {
    50: '#656249',
    500: '#2b2905',
    950: '#000000',
  },
}
SCSS
$custom: #2b2905;
$custom-light: #656249;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2905",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 5
  },
  "hsl": {
    "h": 56.842,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27481,
    "c": 0.05288,
    "h": 106.3
  },
  "luminance": 0.0211
}

Semantic roles & 50–950 ramp

primary
#2B2905
secondary
#1F236D
accent
#3CF632
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B2905

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

Preview Lab → · Contrast checker → · Palette generator →

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