#2B3512#2B3512

#2B3512 is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.1% C 0.057 H 123.0°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#2B3512
RGBrgb(43, 53, 18)
HSLhsl(77, 49%, 14%)
HSVhsv(77, 66%, 21%)
CMYKcmyk(18.9%, 0%, 66%, 79.2%)
CIE-LABlab(20.45, -10.88, 20.34)
CIE-LCHlch(20.45, 23.06, 118.14°)
OKLaboklab(31.05% -0.0309 0.0476)
OKLCHoklch(31.05% 0.057 123)
XYZxyz(2.3786, 3.1035, 1.0459)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3512 #1C1235
analogous
#352E12 #2B3512 #1A3512
triadic
#2B3512 #122B35 #35122B
tetradic
#2B3512 #12352E #1C1235 #35121A
square
#2B3512 #12352E #1C1235 #35121A
split-complementary
#2B3512 #121A35 #2E1235
monochromatic
#131708 #131708 #2B3512 #506322 #759031

Accessibility & contrast

On white

12.96
#2B3512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B3512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3512
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3512#FFFFFF#000000##FFFFFF
##2B35121.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38320E
Deuteranopia (green-blind)
#373114
Tritanopia (blue-blind)
#2D322D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b3512;
/* rgb */ color: rgb(43, 53, 18);
/* oklch */ color: oklch(31.1% 0.057 123.0);
Tailwind
colors: {
  custom: {
    50: '#656c51',
    500: '#2b3512',
    950: '#000000',
  },
}
SCSS
$custom: #2b3512;
$custom-light: #656c51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3512",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 18
  },
  "hsl": {
    "h": 77.143,
    "s": 49.296,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3105,
    "c": 0.05673,
    "h": 123
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#2B3512
secondary
#45356D
accent
#4FD976
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2B3512

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

Preview Lab → · Contrast checker → · Palette generator →

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