#2B2C04#2B2C04

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

Color values

HEX#2B2C04
RGBrgb(43, 44, 4)
HSLhsl(62, 83%, 9%)
HSVhsv(62, 91%, 17%)
CMYKcmyk(2.3%, 0%, 90.9%, 82.7%)
CIE-LABlab(17.10, -6.54, 22.87)
CIE-LCHlch(17.10, 23.79, 105.94°)
OKLaboklab(28.31% -0.0207 0.0539)
OKLCHoklch(28.31% 0.058 111)
XYZxyz(1.9189, 2.3238, 0.4623)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C04 #05042C
analogous
#2C1904 #2B2C04 #172C04
triadic
#2B2C04 #042B2C #2C042B
tetradic
#2B2C04 #042C19 #05042C #2C0417
square
#2B2C04 #042C19 #05042C #2C0417
split-complementary
#2B2C04 #04172C #19042C
monochromatic
#1B1C03 #1B1C03 #2B2C04 #626409 #999C0E

Accessibility & contrast

On white

14.34
#2B2C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2B2C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2C04
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C04#FFFFFF#000000##FFFFFF
##2B2C041.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A00
Deuteranopia (green-blind)
#312B06
Tritanopia (blue-blind)
#2F2924
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2b2c04;
/* rgb */ color: rgb(43, 44, 4);
/* oklch */ color: oklch(28.3% 0.058 111.0);
Tailwind
colors: {
  custom: {
    50: '#666449',
    500: '#2b2c04',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c04;
$custom-light: #666449;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c04",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 61.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28312,
    "c": 0.05771,
    "h": 111
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

primary
#2B2C04
secondary
#1F1D6F
accent
#2EFA33
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2B2C04

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

Preview Lab → · Contrast checker → · Palette generator →

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