#2B340B#2B340B

#2B340B is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.7% C 0.062 H 120.9°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#2B340B
RGBrgb(43, 52, 11)
HSLhsl(73, 65%, 12%)
HSVhsv(73, 79%, 20%)
CMYKcmyk(17.3%, 0%, 78.8%, 79.6%)
CIE-LABlab(20.02, -10.95, 23.44)
CIE-LCHlch(20.02, 25.88, 115.04°)
OKLaboklab(30.68% -0.032 0.0535)
OKLCHoklch(30.68% 0.062 120.9)
XYZxyz(2.2847, 2.9937, 0.7740)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B340B #140B34
analogous
#34290B #2B340B #16340B
triadic
#2B340B #0B2B34 #340B2B
tetradic
#2B340B #0B3429 #140B34 #340B16
square
#2B340B #0B3429 #140B34 #340B16
split-complementary
#2B340B #0B1634 #290B34
monochromatic
#151905 #151905 #2B340B #556716 #7F9920

Accessibility & contrast

On white

13.13
#2B340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B340B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B340B#FFFFFF#000000##FFFFFF
##2B340B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383006
Deuteranopia (green-blind)
#37300E
Tritanopia (blue-blind)
#2E312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b340b;
/* rgb */ color: rgb(43, 52, 11);
/* oklch */ color: oklch(30.7% 0.062 120.9);
Tailwind
colors: {
  custom: {
    50: '#666b4d',
    500: '#2b340b',
    950: '#000000',
  },
}
SCSS
$custom: #2b340b;
$custom-light: #666b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b340b",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 73.171,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30675,
    "c": 0.06232,
    "h": 120.9
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#2B340B
secondary
#3A2A71
accent
#40E865
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B340B

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

Preview Lab → · Contrast checker → · Palette generator →

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