#2B3404#2B3404

#2B3404 is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.6% C 0.069 H 120.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#2B3404
RGBrgb(43, 52, 4)
HSLhsl(71, 86%, 11%)
HSVhsv(71, 92%, 20%)
CMYKcmyk(17.3%, 0%, 92.3%, 79.6%)
CIE-LABlab(19.96, -11.50, 26.24)
CIE-LCHlch(19.96, 28.65, 113.67°)
OKLaboklab(30.61% -0.0344 0.0593)
OKLCHoklch(30.61% 0.069 120.1)
XYZxyz(2.2462, 2.9783, 0.5714)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3404 #0D0434
analogous
#342504 #2B3404 #133404
triadic
#2B3404 #042B34 #34042B
tetradic
#2B3404 #043425 #0D0434 #340413
square
#2B3404 #043425 #0D0434 #340413
split-complementary
#2B3404 #041334 #250434
monochromatic
#171C02 #171C02 #2B3404 #5A6D08 #89A60D

Accessibility & contrast

On white

13.16
#2B3404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2B3404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3404
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3404#FFFFFF#000000##FFFFFF
##2B34041.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#373008
Tritanopia (blue-blind)
#2E312B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b3404;
/* rgb */ color: rgb(43, 52, 4);
/* oklch */ color: oklch(30.6% 0.069 120.1);
Tailwind
colors: {
  custom: {
    50: '#666b49',
    500: '#2b3404',
    950: '#000000',
  },
}
SCSS
$custom: #2b3404;
$custom-light: #666b49;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3404",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 4
  },
  "hsl": {
    "h": 71.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30606,
    "c": 0.06856,
    "h": 120.1
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#2B3404
secondary
#2E1E76
accent
#2CFC53
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3404

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

Preview Lab → · Contrast checker → · Palette generator →

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