#2B4607#2B4607

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

Color values

HEX#2B4607
RGBrgb(43, 70, 7)
HSLhsl(86, 82%, 15%)
HSVhsv(86, 90%, 27%)
CMYKcmyk(38.6%, 0%, 90%, 72.5%)
CIE-LABlab(26.47, -21.21, 31.65)
CIE-LCHlch(26.47, 38.10, 123.83°)
OKLaboklab(35.9% -0.0604 0.0695)
OKLCHoklch(35.9% 0.092 131)
XYZxyz(3.2247, 4.9091, 0.9786)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4607 #220746
analogous
#464107 #2B4607 #0C4607
triadic
#2B4607 #072B46 #46072B
tetradic
#2B4607 #074641 #220746 #46070C
square
#2B4607 #074641 #220746 #46070C
split-complementary
#2B4607 #070C46 #410746
monochromatic
#111C03 #111C03 #2B4607 #4D7E0D #6FB512

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4607#FFFFFF#000000##FFFFFF
##2B46071.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)
#463E0E
Tritanopia (blue-blind)
#2C433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b4607;
/* rgb */ color: rgb(43, 70, 7);
/* oklch */ color: oklch(35.9% 0.092 131.0);
Tailwind
colors: {
  custom: {
    50: '#68794d',
    500: '#2b4607',
    950: '#000000',
  },
}
SCSS
$custom: #2b4607;
$custom-light: #68794d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4607",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 7
  },
  "hsl": {
    "h": 85.714,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35904,
    "c": 0.09207,
    "h": 131
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#2B4607
secondary
#4D2485
accent
#30F886
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2B4607

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

Preview Lab → · Contrast checker → · Palette generator →

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