#2B4606#2B4606

#2B4606 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.093 H 130.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2B4606
RGBrgb(43, 70, 6)
HSLhsl(85, 84%, 15%)
HSVhsv(85, 91%, 27%)
CMYKcmyk(38.6%, 0%, 91.4%, 72.5%)
CIE-LABlab(26.47, -21.28, 32.05)
CIE-LCHlch(26.47, 38.47, 123.58°)
OKLaboklab(35.9% -0.0606 0.0701)
OKLCHoklch(35.9% 0.093 130.9)
XYZxyz(3.2193, 4.9069, 0.9498)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4606 #210646
analogous
#464106 #2B4606 #0B4606
triadic
#2B4606 #062B46 #46062B
tetradic
#2B4606 #064641 #210646 #46060B
square
#2B4606 #064641 #210646 #46060B
split-complementary
#2B4606 #060B46 #410646
monochromatic
#111C02 #111C02 #2B4606 #4E7E0B #70B710

Accessibility & contrast

On white

10.60
#2B4606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2B4606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4606
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4606#FFFFFF#000000##FFFFFF
##2B46061.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0D
Tritanopia (blue-blind)
#2C433A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b4606;
/* rgb */ color: rgb(43, 70, 6);
/* oklch */ color: oklch(35.9% 0.093 130.9);
Tailwind
colors: {
  custom: {
    50: '#68794d',
    500: '#2b4606',
    950: '#000000',
  },
}
SCSS
$custom: #2b4606;
$custom-light: #68794d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4606",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 6
  },
  "hsl": {
    "h": 85.313,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35897,
    "c": 0.0927,
    "h": 130.9
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#2B4606
secondary
#4C2285
accent
#2DFA84
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2B4606

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

Preview Lab → · Contrast checker → · Palette generator →

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