#2B4612#2B4612

#2B4612 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.084 H 132.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2B4612
RGBrgb(43, 70, 18)
HSLhsl(91, 59%, 17%)
HSVhsv(91, 74%, 27%)
CMYKcmyk(38.6%, 0%, 74.3%, 72.5%)
CIE-LABlab(26.56, -20.39, 27.06)
CIE-LCHlch(26.56, 33.88, 126.99°)
OKLaboklab(36% -0.0572 0.0619)
OKLCHoklch(36% 0.084 132.7)
XYZxyz(3.2956, 4.9374, 1.3515)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4612 #2D1246
analogous
#454612 #2B4612 #124613
triadic
#2B4612 #122B46 #46122B
tetradic
#2B4612 #124546 #2D1246 #461312
square
#2B4612 #124546 #2D1246 #461312
split-complementary
#2B4612 #131246 #461245
monochromatic
#0F1806 #0F1806 #2B4612 #49771F #67A72B

Accessibility & contrast

On white

10.57
#2B4612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B4612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4612
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4612#FFFFFF#000000##FFFFFF
##2B46121.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400B
Deuteranopia (green-blind)
#453E16
Tritanopia (blue-blind)
#2B433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b4612;
/* rgb */ color: rgb(43, 70, 18);
/* oklch */ color: oklch(36.0% 0.084 132.7);
Tailwind
colors: {
  custom: {
    50: '#677953',
    500: '#2b4612',
    950: '#000000',
  },
}
SCSS
$custom: #2b4612;
$custom-light: #677953;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4612",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 18
  },
  "hsl": {
    "h": 91.154,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35997,
    "c": 0.08422,
    "h": 132.7
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#2B4612
secondary
#5B357F
accent
#46E297
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B4612

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

Preview Lab → · Contrast checker → · Palette generator →

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