#2B340E#2B340E

#2B340E is a dark, muted yellow-green. Relative luminance 0.030; OKLCH L 30.7% C 0.059 H 121.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#2B340E
RGBrgb(43, 52, 14)
HSLhsl(74, 58%, 13%)
HSVhsv(74, 73%, 20%)
CMYKcmyk(17.3%, 0%, 73.1%, 79.6%)
CIE-LABlab(20.05, -10.69, 22.08)
CIE-LCHlch(20.05, 24.53, 115.84°)
OKLaboklab(30.71% -0.0309 0.0508)
OKLCHoklch(30.71% 0.059 121.3)
XYZxyz(2.3035, 3.0013, 0.8733)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B340E #170E34
analogous
#342A0E #2B340E #18340E
triadic
#2B340E #0E2B34 #340E2B
tetradic
#2B340E #0E342A #170E34 #340E18
square
#2B340E #0E342A #170E34 #340E18
split-complementary
#2B340E #0E1834 #2A0E34
monochromatic
#141806 #141806 #2B340E #53641B #7B9428

Accessibility & contrast

On white

13.12
#2B340E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B340E
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B340E#FFFFFF#000000##FFFFFF
##2B340E1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383109
Deuteranopia (green-blind)
#363011
Tritanopia (blue-blind)
#2E312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b340e;
/* rgb */ color: rgb(43, 52, 14);
/* oklch */ color: oklch(30.7% 0.059 121.3);
Tailwind
colors: {
  custom: {
    50: '#666b4e',
    500: '#2b340e',
    950: '#000000',
  },
}
SCSS
$custom: #2b340e;
$custom-light: #666b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b340e",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 14
  },
  "hsl": {
    "h": 74.211,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30709,
    "c": 0.05944,
    "h": 121.3
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#2B340E
secondary
#3E2F6F
accent
#47E16B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2B340E

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

Preview Lab → · Contrast checker → · Palette generator →

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