#2B340D#2B340D

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

Color values

HEX#2B340D
RGBrgb(43, 52, 13)
HSLhsl(74, 60%, 13%)
HSVhsv(74, 75%, 20%)
CMYKcmyk(17.3%, 0%, 75%, 79.6%)
CIE-LABlab(20.04, -10.78, 22.56)
CIE-LCHlch(20.04, 25.00, 115.55°)
OKLaboklab(30.7% -0.0312 0.0517)
OKLCHoklch(30.7% 0.06 121.1)
XYZxyz(2.2969, 2.9986, 0.8385)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B340D #160D34
analogous
#34290D #2B340D #17340D
triadic
#2B340D #0D2B34 #340D2B
tetradic
#2B340D #0D3429 #160D34 #340D17
square
#2B340D #0D3429 #160D34 #340D17
split-complementary
#2B340D #0D1734 #290D34
monochromatic
#141806 #141806 #2B340D #536519 #7C9625

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B340D#FFFFFF#000000##FFFFFF
##2B340D1.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)
#383108
Deuteranopia (green-blind)
#363010
Tritanopia (blue-blind)
#2E312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b340d;
/* rgb */ color: rgb(43, 52, 13);
/* oklch */ color: oklch(30.7% 0.060 121.1);
Tailwind
colors: {
  custom: {
    50: '#666b4e',
    500: '#2b340d',
    950: '#000000',
  },
}
SCSS
$custom: #2b340d;
$custom-light: #666b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b340d",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 13
  },
  "hsl": {
    "h": 73.846,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30698,
    "c": 0.06044,
    "h": 121.1
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#2B340D
secondary
#3D2D6F
accent
#45E369
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B340D

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

Preview Lab → · Contrast checker → · Palette generator →

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