#2B3711#2B3711

#2B3711 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.6% C 0.061 H 124.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#2B3711
RGBrgb(43, 55, 17)
HSLhsl(79, 53%, 14%)
HSVhsv(79, 69%, 22%)
CMYKcmyk(21.8%, 0%, 69.1%, 78.4%)
CIE-LABlab(21.16, -12.18, 21.70)
CIE-LCHlch(21.16, 24.89, 119.31°)
OKLaboklab(31.61% -0.0347 0.0504)
OKLCHoklch(31.61% 0.061 124.6)
XYZxyz(2.4636, 3.2864, 1.0348)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3711 #1D1137
analogous
#373011 #2B3711 #183711
triadic
#2B3711 #112B37 #37112B
tetradic
#2B3711 #113730 #1D1137 #371118
square
#2B3711 #113730 #1D1137 #371118
split-complementary
#2B3711 #111837 #301137
monochromatic
#121707 #121707 #2B3711 #50661F #74952E

Accessibility & contrast

On white

12.67
#2B3711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3711
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3711#FFFFFF#000000##FFFFFF
##2B37111.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3711;
/* rgb */ color: rgb(43, 55, 17);
/* oklch */ color: oklch(31.6% 0.061 124.6);
Tailwind
colors: {
  custom: {
    50: '#656d50',
    500: '#2b3711',
    950: '#000000',
  },
}
SCSS
$custom: #2b3711;
$custom-light: #656d50;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3711",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 17
  },
  "hsl": {
    "h": 78.947,
    "s": 52.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31613,
    "c": 0.06114,
    "h": 124.6
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#2B3711
secondary
#473470
accent
#4CDC79
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B3711

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

Preview Lab → · Contrast checker → · Palette generator →

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