#2B3504#2B3504

#2B3504 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.9% C 0.070 H 121.0°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2B3504
RGBrgb(43, 53, 4)
HSLhsl(72, 86%, 11%)
HSVhsv(72, 92%, 21%)
CMYKcmyk(18.9%, 0%, 92.5%, 79.2%)
CIE-LABlab(20.32, -12.10, 26.64)
CIE-LCHlch(20.32, 29.26, 114.42°)
OKLaboklab(30.9% -0.036 0.06)
OKLCHoklch(30.9% 0.07 121)
XYZxyz(2.2913, 3.0686, 0.5864)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3504 #0E0435
analogous
#352604 #2B3504 #123504
triadic
#2B3504 #042B35 #35042B
tetradic
#2B3504 #043526 #0E0435 #350412
square
#2B3504 #043526 #0E0435 #350412
split-complementary
#2B3504 #041235 #260435
monochromatic
#171C02 #171C02 #2B3504 #596E08 #87A70D

Accessibility & contrast

On white

13.01
#2B3504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2B3504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3504
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3504#FFFFFF#000000##FFFFFF
##2B35041.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#383108
Tritanopia (blue-blind)
#2E322C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b3504;
/* rgb */ color: rgb(43, 53, 4);
/* oklch */ color: oklch(30.9% 0.070 121.0);
Tailwind
colors: {
  custom: {
    50: '#666c49',
    500: '#2b3504',
    950: '#000000',
  },
}
SCSS
$custom: #2b3504;
$custom-light: #666c49;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3504",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 4
  },
  "hsl": {
    "h": 72.245,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30896,
    "c": 0.06997,
    "h": 121
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#2B3504
secondary
#301E77
accent
#2CFC56
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3504

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

Preview Lab → · Contrast checker → · Palette generator →

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