#2B2C02#2B2C02

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

Color values

HEX#2B2C02
RGBrgb(43, 44, 2)
HSLhsl(61, 91%, 9%)
HSVhsv(61, 95%, 17%)
CMYKcmyk(2.3%, 0%, 95.5%, 82.7%)
CIE-LABlab(17.08, -6.70, 23.66)
CIE-LCHlch(17.08, 24.59, 105.82°)
OKLaboklab(28.29% -0.0215 0.0559)
OKLCHoklch(28.29% 0.06 111.1)
XYZxyz(1.9080, 2.3194, 0.4046)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2C02 #03022C
analogous
#2C1802 #2B2C02 #162C02
triadic
#2B2C02 #022B2C #2C022B
tetradic
#2B2C02 #022C18 #03022C #2C0216
square
#2B2C02 #022C18 #03022C #2C0216
split-complementary
#2B2C02 #02162C #18022C
monochromatic
#1D1D01 #1D1D01 #2B2C02 #646705 #9DA107

Accessibility & contrast

On white

14.35
#2B2C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2C02
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2C02#FFFFFF#000000##FFFFFF
##2B2C021.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#312B05
Tritanopia (blue-blind)
#2F2824
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2b2c02;
/* rgb */ color: rgb(43, 44, 2);
/* oklch */ color: oklch(28.3% 0.060 111.1);
Tailwind
colors: {
  custom: {
    50: '#666448',
    500: '#2b2c02',
    950: '#000000',
  },
}
SCSS
$custom: #2b2c02;
$custom-light: #666448;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2c02",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 61.429,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.28289,
    "c": 0.05991,
    "h": 111.1
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#2B2C02
secondary
#1B1971
accent
#29FF2E
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2B2C02

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

Preview Lab → · Contrast checker → · Palette generator →

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