#2B4711#2B4711

#2B4711 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.3% C 0.087 H 132.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2B4711
RGBrgb(43, 71, 17)
HSLhsl(91, 61%, 17%)
HSVhsv(91, 76%, 28%)
CMYKcmyk(39.4%, 0%, 76.1%, 72.2%)
CIE-LABlab(26.91, -21.00, 27.91)
CIE-LCHlch(26.91, 34.93, 126.95°)
OKLaboklab(36.28% -0.0589 0.0635)
OKLCHoklch(36.28% 0.087 132.9)
XYZxyz(3.3506, 5.0604, 1.3304)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4711 #2D1147
analogous
#464711 #2B4711 #114712
triadic
#2B4711 #112B47 #47112B
tetradic
#2B4711 #114647 #2D1147 #471211
square
#2B4711 #114647 #2D1147 #471211
split-complementary
#2B4711 #121147 #471146
monochromatic
#0F1906 #0F1906 #2B4711 #49781D #67AA29

Accessibility & contrast

On white

10.44
#2B4711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B4711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4711
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4711#FFFFFF#000000##FFFFFF
##2B47111.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4109
Deuteranopia (green-blind)
#463F16
Tritanopia (blue-blind)
#2B443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b4711;
/* rgb */ color: rgb(43, 71, 17);
/* oklch */ color: oklch(36.3% 0.087 132.9);
Tailwind
colors: {
  custom: {
    50: '#677a52',
    500: '#2b4711',
    950: '#000000',
  },
}
SCSS
$custom: #2b4711;
$custom-light: #677a52;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4711",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 17
  },
  "hsl": {
    "h": 91.111,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.3628,
    "c": 0.0866,
    "h": 132.9
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#2B4711
secondary
#5B3381
accent
#43E497
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4711

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

Preview Lab → · Contrast checker → · Palette generator →

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