#2B340C#2B340C

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

Color values

HEX#2B340C
RGBrgb(43, 52, 12)
HSLhsl(74, 63%, 13%)
HSVhsv(74, 77%, 20%)
CMYKcmyk(17.3%, 0%, 76.9%, 79.6%)
CIE-LABlab(20.03, -10.87, 23.01)
CIE-LCHlch(20.03, 25.45, 115.28°)
OKLaboklab(30.69% -0.0316 0.0526)
OKLCHoklch(30.69% 0.061 121)
XYZxyz(2.2906, 2.9961, 0.8054)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B340C #150C34
analogous
#34290C #2B340C #17340C
triadic
#2B340C #0C2B34 #340C2B
tetradic
#2B340C #0C3429 #150C34 #340C17
square
#2B340C #0C3429 #150C34 #340C17
split-complementary
#2B340C #0C1734 #290C34
monochromatic
#151906 #151906 #2B340C #546617 #7D9723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B340C#FFFFFF#000000##FFFFFF
##2B340C1.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)
#383007
Deuteranopia (green-blind)
#37300F
Tritanopia (blue-blind)
#2E312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b340c;
/* rgb */ color: rgb(43, 52, 12);
/* oklch */ color: oklch(30.7% 0.061 121.0);
Tailwind
colors: {
  custom: {
    50: '#666b4d',
    500: '#2b340c',
    950: '#000000',
  },
}
SCSS
$custom: #2b340c;
$custom-light: #666b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b340c",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 73.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30686,
    "c": 0.0614,
    "h": 121
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#2B340C
secondary
#3B2C70
accent
#42E667
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B340C

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

Preview Lab → · Contrast checker → · Palette generator →

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