#2B3715#2B3715

#2B3715 is a dark, muted yellow-green. Relative luminance 0.033; OKLCH L 31.7% C 0.057 H 125.6°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#2B3715
RGBrgb(43, 55, 21)
HSLhsl(81, 45%, 15%)
HSVhsv(81, 62%, 22%)
CMYKcmyk(21.8%, 0%, 61.8%, 78.4%)
CIE-LABlab(21.21, -11.72, 19.46)
CIE-LCHlch(21.21, 22.72, 121.07°)
OKLaboklab(31.67% -0.033 0.046)
OKLCHoklch(31.67% 0.057 125.6)
XYZxyz(2.4978, 3.3001, 1.2147)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3715 #211537
analogous
#373215 #2B3715 #1A3715
triadic
#2B3715 #152B37 #37152B
tetradic
#2B3715 #153732 #211537 #37151A
square
#2B3715 #153732 #211537 #37151A
split-complementary
#2B3715 #151A37 #321537
monochromatic
#111608 #111608 #2B3715 #4E6326 #709037

Accessibility & contrast

On white

12.65
#2B3715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2B3715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3715
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3715#FFFFFF#000000##FFFFFF
##2B37151.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3312
Deuteranopia (green-blind)
#383317
Tritanopia (blue-blind)
#2D342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b3715;
/* rgb */ color: rgb(43, 55, 21);
/* oklch */ color: oklch(31.7% 0.057 125.6);
Tailwind
colors: {
  custom: {
    50: '#656d53',
    500: '#2b3715',
    950: '#000000',
  },
}
SCSS
$custom: #2b3715;
$custom-light: #656d53;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3715",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 21
  },
  "hsl": {
    "h": 81.176,
    "s": 44.737,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31671,
    "c": 0.05661,
    "h": 125.6
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#2B3715
secondary
#4C3A6E
accent
#53D481
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B3715

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

Preview Lab → · Contrast checker → · Palette generator →

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