#2B4706#2B4706

#2B4706 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.094 H 131.2°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2B4706
RGBrgb(43, 71, 6)
HSLhsl(86, 84%, 15%)
HSVhsv(86, 92%, 28%)
CMYKcmyk(39.4%, 0%, 91.5%, 72.2%)
CIE-LABlab(26.83, -21.78, 32.37)
CIE-LCHlch(26.83, 39.02, 123.94°)
OKLaboklab(36.19% -0.062 0.0708)
OKLCHoklch(36.19% 0.094 131.2)
XYZxyz(3.2823, 5.0331, 0.9708)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4706 #220647
analogous
#474206 #2B4706 #0B4706
triadic
#2B4706 #062B47 #47062B
tetradic
#2B4706 #064742 #220647 #47060B
square
#2B4706 #064742 #220647 #47060B
split-complementary
#2B4706 #060B47 #420647
monochromatic
#111C02 #111C02 #2B4706 #4D7F0B #6FB810

Accessibility & contrast

On white

10.47
#2B4706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4706
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4706#FFFFFF#000000##FFFFFF
##2B47061.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#473F0D
Tritanopia (blue-blind)
#2C443B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b4706;
/* rgb */ color: rgb(43, 71, 6);
/* oklch */ color: oklch(36.2% 0.094 131.2);
Tailwind
colors: {
  custom: {
    50: '#687a4d',
    500: '#2b4706',
    950: '#000000',
  },
}
SCSS
$custom: #2b4706;
$custom-light: #687a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4706",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 6
  },
  "hsl": {
    "h": 85.846,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36192,
    "c": 0.09411,
    "h": 131.2
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#2B4706
secondary
#4D2386
accent
#2DFB86
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2B4706

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

Preview Lab → · Contrast checker → · Palette generator →

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