#2B2E04#2B2E04

#2B2E04 is a dark, moderate yellow. Relative luminance 0.025; OKLCH L 28.9% C 0.060 H 113.7°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#2B2E04
RGBrgb(43, 46, 4)
HSLhsl(64, 84%, 10%)
HSVhsv(64, 91%, 18%)
CMYKcmyk(6.5%, 0%, 91.3%, 82%)
CIE-LABlab(17.81, -7.81, 23.73)
CIE-LCHlch(17.81, 24.99, 108.22°)
OKLaboklab(28.88% -0.0242 0.0552)
OKLCHoklch(28.88% 0.06 113.7)
XYZxyz(1.9952, 2.4764, 0.4877)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E04 #07042E
analogous
#2E1C04 #2B2E04 #162E04
triadic
#2B2E04 #042B2E #2E042B
tetradic
#2B2E04 #042E1C #07042E #2E0416
square
#2B2E04 #042E1C #07042E #2E0416
split-complementary
#2B2E04 #04162E #1C042E
monochromatic
#1A1C02 #1A1C02 #2B2E04 #606609 #949F0E

Accessibility & contrast

On white

14.04
#2B2E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2B2E04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E04
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E04#FFFFFF#000000##FFFFFF
##2B2E041.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#322C07
Tritanopia (blue-blind)
#2F2B26
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2b2e04;
/* rgb */ color: rgb(43, 46, 4);
/* oklch */ color: oklch(28.9% 0.060 113.7);
Tailwind
colors: {
  custom: {
    50: '#666649',
    500: '#2b2e04',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e04;
$custom-light: #666649;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e04",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 64.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.2888,
    "c": 0.06032,
    "h": 113.7
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#2B2E04
secondary
#231D71
accent
#2EFA3C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2B2E04

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

Preview Lab → · Contrast checker → · Palette generator →

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