#2B2A07#2B2A07

#2B2A07 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.052 H 107.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#2B2A07
RGBrgb(43, 42, 7)
HSLhsl(58, 72%, 10%)
HSVhsv(58, 84%, 17%)
CMYKcmyk(0%, 2.3%, 83.7%, 83.1%)
CIE-LABlab(16.43, -4.98, 20.82)
CIE-LCHlch(16.43, 21.41, 103.45°)
OKLaboklab(27.79% -0.0158 0.0495)
OKLCHoklch(27.79% 0.052 107.7)
XYZxyz(1.8626, 2.1849, 0.5246)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A07 #07082B
analogous
#2B1807 #2B2A07 #1A2B07
triadic
#2B2A07 #072B2A #2A072B
tetradic
#2B2A07 #072B18 #07082B #2B071A
square
#2B2A07 #072B18 #07082B #2B071A
split-complementary
#2B2A07 #071A2B #18072B
monochromatic
#1A1A04 #1A1A04 #2B2A07 #605D10 #949118

Accessibility & contrast

On white

14.61
#2B2A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2B2A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A07
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A07#FFFFFF#000000##FFFFFF
##2B2A071.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2803
Deuteranopia (green-blind)
#2F2909
Tritanopia (blue-blind)
#2F2723
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b2a07;
/* rgb */ color: rgb(43, 42, 7);
/* oklch */ color: oklch(27.8% 0.052 107.7);
Tailwind
colors: {
  custom: {
    50: '#65634a',
    500: '#2b2a07',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a07;
$custom-light: #65634a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a07",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 58.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27785,
    "c": 0.05192,
    "h": 107.7
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#2B2A07
secondary
#23256B
accent
#3EEF39
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B2A07

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

Preview Lab → · Contrast checker → · Palette generator →

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