#2B4616#2B4616

#2B4616 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.0% C 0.081 H 133.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2B4616
RGBrgb(43, 70, 22)
HSLhsl(94, 52%, 18%)
HSVhsv(94, 69%, 27%)
CMYKcmyk(38.6%, 0%, 68.6%, 72.5%)
CIE-LABlab(26.60, -19.98, 25.08)
CIE-LCHlch(26.60, 32.07, 128.54°)
OKLaboklab(36.04% -0.0557 0.0582)
OKLCHoklch(36.04% 0.081 133.7)
XYZxyz(3.3312, 4.9517, 1.5392)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4616 #311646
analogous
#434616 #2B4616 #164619
triadic
#2B4616 #162B46 #46162B
tetradic
#2B4616 #164346 #311646 #461916
square
#2B4616 #164346 #311646 #461916
split-complementary
#2B4616 #191646 #461643
monochromatic
#0E1707 #0E1707 #2B4616 #487525 #64A333

Accessibility & contrast

On white

10.55
#2B4616 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4616
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4616#FFFFFF#000000##FFFFFF
##2B46161.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494011
Deuteranopia (green-blind)
#453E1A
Tritanopia (blue-blind)
#2B433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b4616;
/* rgb */ color: rgb(43, 70, 22);
/* oklch */ color: oklch(36.0% 0.081 133.7);
Tailwind
colors: {
  custom: {
    50: '#677955',
    500: '#2b4616',
    950: '#000000',
  },
}
SCSS
$custom: #2b4616;
$custom-light: #677955;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4616",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 22
  },
  "hsl": {
    "h": 93.75,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36043,
    "c": 0.08056,
    "h": 133.7
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#2B4616
secondary
#603A7D
accent
#4CDC9D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B4616

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

Preview Lab → · Contrast checker → · Palette generator →

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