#2B4106#2B4106

#2B4106 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.086 H 128.8°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2B4106
RGBrgb(43, 65, 6)
HSLhsl(82, 83%, 14%)
HSVhsv(82, 91%, 25%)
CMYKcmyk(33.8%, 0%, 90.8%, 74.5%)
CIE-LABlab(24.66, -18.68, 30.37)
CIE-LCHlch(24.66, 35.65, 121.60°)
OKLaboklab(34.42% -0.0536 0.0667)
OKLCHoklch(34.42% 0.086 128.8)
XYZxyz(2.9194, 4.3073, 0.8498)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4106 #1C0641
analogous
#413A06 #2B4106 #0E4106
triadic
#2B4106 #062B41 #41062B
tetradic
#2B4106 #06413A #1C0641 #41060E
square
#2B4106 #06413A #1C0641 #41060E
split-complementary
#2B4106 #060E41 #3A0641
monochromatic
#131C03 #131C03 #2B4106 #50790B #75B110

Accessibility & contrast

On white

11.28
#2B4106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2B4106 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4106
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4106#FFFFFF#000000##FFFFFF
##2B41061.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423A0C
Tritanopia (blue-blind)
#2D3E36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b4106;
/* rgb */ color: rgb(43, 65, 6);
/* oklch */ color: oklch(34.4% 0.086 128.8);
Tailwind
colors: {
  custom: {
    50: '#67754c',
    500: '#2b4106',
    950: '#000000',
  },
}
SCSS
$custom: #2b4106;
$custom-light: #67754c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4106",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 6
  },
  "hsl": {
    "h": 82.373,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34425,
    "c": 0.08559,
    "h": 128.8
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#2B4106
secondary
#452281
accent
#2EF97A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B4106

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

Preview Lab → · Contrast checker → · Palette generator →

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