#2B3515#2B3515

#2B3515 is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.1% C 0.053 H 123.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#2B3515
RGBrgb(43, 53, 21)
HSLhsl(79, 43%, 15%)
HSVhsv(79, 60%, 21%)
CMYKcmyk(18.9%, 0%, 60.4%, 79.2%)
CIE-LABlab(20.49, -10.52, 18.62)
CIE-LCHlch(20.49, 21.38, 119.47°)
OKLaboklab(31.1% -0.0296 0.0442)
OKLCHoklch(31.1% 0.053 123.8)
XYZxyz(2.4047, 3.1139, 1.1837)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3515 #1F1535
analogous
#352F15 #2B3515 #1B3515
triadic
#2B3515 #152B35 #35152B
tetradic
#2B3515 #15352F #1F1535 #35151B
square
#2B3515 #15352F #1F1535 #35151B
split-complementary
#2B3515 #151B35 #2F1535
monochromatic
#121609 #121609 #2B3515 #4F6126 #728D38

Accessibility & contrast

On white

12.94
#2B3515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B3515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3515
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3515#FFFFFF#000000##FFFFFF
##2B35151.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383212
Deuteranopia (green-blind)
#373117
Tritanopia (blue-blind)
#2D322E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b3515;
/* rgb */ color: rgb(43, 53, 21);
/* oklch */ color: oklch(31.1% 0.053 123.8);
Tailwind
colors: {
  custom: {
    50: '#656c53',
    500: '#2b3515',
    950: '#000000',
  },
}
SCSS
$custom: #2b3515;
$custom-light: #656c53;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3515",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 21
  },
  "hsl": {
    "h": 78.75,
    "s": 43.243,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31097,
    "c": 0.05317,
    "h": 123.8
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#2B3515
secondary
#493A6C
accent
#55D37C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2B3515

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

Preview Lab → · Contrast checker → · Palette generator →

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