#2B340F#2B340F

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

Color values

HEX#2B340F
RGBrgb(43, 52, 15)
HSLhsl(75, 55%, 13%)
HSVhsv(75, 71%, 20%)
CMYKcmyk(17.3%, 0%, 71.2%, 79.6%)
CIE-LABlab(20.06, -10.59, 21.57)
CIE-LCHlch(20.06, 24.03, 116.15°)
OKLaboklab(30.72% -0.0305 0.0498)
OKLCHoklch(30.72% 0.058 121.5)
XYZxyz(2.3105, 3.0041, 0.9100)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B340F #180F34
analogous
#342A0F #2B340F #18340F
triadic
#2B340F #0F2B34 #340F2B
tetradic
#2B340F #0F342A #180F34 #340F18
square
#2B340F #0F342A #180F34 #340F18
split-complementary
#2B340F #0F1834 #2A0F34
monochromatic
#141807 #141807 #2B340F #52631D #7A932A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B340F#FFFFFF#000000##FFFFFF
##2B340F1.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)
#37310B
Deuteranopia (green-blind)
#363011
Tritanopia (blue-blind)
#2E312C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b340f;
/* rgb */ color: rgb(43, 52, 15);
/* oklch */ color: oklch(30.7% 0.058 121.5);
Tailwind
colors: {
  custom: {
    50: '#656b4f',
    500: '#2b340f',
    950: '#000000',
  },
}
SCSS
$custom: #2b340f;
$custom-light: #656b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b340f",
  "rgb": {
    "r": 43,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 74.595,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30722,
    "c": 0.0584,
    "h": 121.5
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#2B340F
secondary
#40316E
accent
#49DF6E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2B340F

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

Preview Lab → · Contrast checker → · Palette generator →

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