#2B4011#2B4011

#2B4011 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.076 H 130.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2B4011
RGBrgb(43, 64, 17)
HSLhsl(87, 58%, 16%)
HSVhsv(87, 73%, 25%)
CMYKcmyk(32.8%, 0%, 73.4%, 74.9%)
CIE-LABlab(24.39, -17.30, 25.25)
CIE-LCHlch(24.39, 30.60, 124.42°)
OKLaboklab(34.23% -0.0488 0.0579)
OKLCHoklch(34.23% 0.076 130.1)
XYZxyz(2.9308, 4.2208, 1.1905)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4011 #261140
analogous
#403D11 #2B4011 #134011
triadic
#2B4011 #112B40 #40112B
tetradic
#2B4011 #11403D #261140 #401113
square
#2B4011 #11403D #261140 #401113
split-complementary
#2B4011 #111340 #3D1140
monochromatic
#101806 #101806 #2B4011 #4B701E #6CA12B

Accessibility & contrast

On white

11.39
#2B4011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B4011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4011
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4011#FFFFFF#000000##FFFFFF
##2B40111.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0B
Deuteranopia (green-blind)
#403915
Tritanopia (blue-blind)
#2C3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b4011;
/* rgb */ color: rgb(43, 64, 17);
/* oklch */ color: oklch(34.2% 0.076 130.1);
Tailwind
colors: {
  custom: {
    50: '#667551',
    500: '#2b4011',
    950: '#000000',
  },
}
SCSS
$custom: #2b4011;
$custom-light: #667551;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4011",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 17
  },
  "hsl": {
    "h": 86.809,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3423,
    "c": 0.07571,
    "h": 130.1
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#2B4011
secondary
#533379
accent
#47E18C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B4011

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

Preview Lab → · Contrast checker → · Palette generator →

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