#2B2C07#2B2C07

#2B2C07 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.055 H 110.9°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#2B2C07
RGBrgb(43, 44, 7)
HSLhsl(62, 73%, 10%)
HSVhsv(62, 84%, 17%)
CMYKcmyk(2.3%, 0%, 84.1%, 82.7%)
CIE-LABlab(17.13, -6.28, 21.69)
CIE-LCHlch(17.13, 22.58, 106.14°)
OKLaboklab(28.35% -0.0195 0.0509)
OKLCHoklch(28.35% 0.055 110.9)
XYZxyz(1.9354, 2.3303, 0.5488)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C07 #08072C
analogous
#2C1B07 #2B2C07 #182C07
triadic
#2B2C07 #072B2C #2C072B
tetradic
#2B2C07 #072C1B #08072C #2C0718
square
#2B2C07 #072C1B #08072C #2C0718
split-complementary
#2B2C07 #07182C #1B072C
monochromatic
#1A1A04 #1A1A04 #2B2C07 #5F610F #929618

Accessibility & contrast

On white

14.32
#2B2C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2B2C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C07
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C07#FFFFFF#000000##FFFFFF
##2B2C071.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A03
Deuteranopia (green-blind)
#302B09
Tritanopia (blue-blind)
#2F2925
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2b2c07;
/* rgb */ color: rgb(43, 44, 7);
/* oklch */ color: oklch(28.3% 0.055 110.9);
Tailwind
colors: {
  custom: {
    50: '#65644a',
    500: '#2b2c07',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c07;
$custom-light: #65644a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c07",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 61.622,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.28347,
    "c": 0.05453,
    "h": 110.9
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#2B2C07
secondary
#25236C
accent
#39EF3D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2B2C07

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

Preview Lab → · Contrast checker → · Palette generator →

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