#2B3115#2B3115

#2B3115 is a dark, muted yellow-green. Relative luminance 0.028; OKLCH L 30.0% C 0.046 H 119.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#2B3115
RGBrgb(43, 49, 21)
HSLhsl(73, 40%, 14%)
HSVhsv(73, 57%, 19%)
CMYKcmyk(12.2%, 0%, 57.1%, 80.8%)
CIE-LABlab(19.07, -8.05, 16.91)
CIE-LCHlch(19.07, 18.72, 115.45°)
OKLaboklab(29.96% -0.0226 0.0404)
OKLCHoklch(29.96% 0.046 119.2)
XYZxyz(2.2299, 2.7644, 1.1254)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3115 #1B1531
analogous
#312915 #2B3115 #1D3115
triadic
#2B3115 #152B31 #31152B
tetradic
#2B3115 #153129 #1B1531 #31151D
square
#2B3115 #153129 #1B1531 #31151D
split-complementary
#2B3115 #151D31 #291531
monochromatic
#131509 #131509 #2B3115 #515C27 #76873A

Accessibility & contrast

On white

13.52
#2B3115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2B3115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3115
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3115#FFFFFF#000000##FFFFFF
##2B31151.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E13
Deuteranopia (green-blind)
#332E17
Tritanopia (blue-blind)
#2D2E2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b3115;
/* rgb */ color: rgb(43, 49, 21);
/* oklch */ color: oklch(30.0% 0.046 119.2);
Tailwind
colors: {
  custom: {
    50: '#656953',
    500: '#2b3115',
    950: '#000000',
  },
}
SCSS
$custom: #2b3115;
$custom-light: #656953;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3115",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 21
  },
  "hsl": {
    "h": 72.857,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.29957,
    "c": 0.04632,
    "h": 119.2
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#2B3115
secondary
#443A68
accent
#58D072
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2B3115

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

Preview Lab → · Contrast checker → · Palette generator →

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