#2B4205#2B4205

#2B4205 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.088 H 129.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2B4205
RGBrgb(43, 66, 5)
HSLhsl(83, 86%, 14%)
HSVhsv(83, 92%, 26%)
CMYKcmyk(34.8%, 0%, 92.4%, 74.1%)
CIE-LABlab(25.02, -19.28, 31.11)
CIE-LCHlch(25.02, 36.60, 121.78°)
OKLaboklab(34.71% -0.0553 0.0681)
OKLCHoklch(34.71% 0.088 129.1)
XYZxyz(2.9719, 4.4209, 0.8403)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4205 #1C0542
analogous
#423B05 #2B4205 #0D4205
triadic
#2B4205 #052B42 #42052B
tetradic
#2B4205 #05423B #1C0542 #42050D
square
#2B4205 #05423B #1C0542 #42050D
split-complementary
#2B4205 #050D42 #3B0542
monochromatic
#131C02 #131C02 #2B4205 #507B09 #75B40E

Accessibility & contrast

On white

11.15
#2B4205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B4205 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4205
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4205#FFFFFF#000000##FFFFFF
##2B42051.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463C00
Deuteranopia (green-blind)
#433B0C
Tritanopia (blue-blind)
#2D3F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b4205;
/* rgb */ color: rgb(43, 66, 5);
/* oklch */ color: oklch(34.7% 0.088 129.1);
Tailwind
colors: {
  custom: {
    50: '#67764b',
    500: '#2b4205',
    950: '#000000',
  },
}
SCSS
$custom: #2b4205;
$custom-light: #67764b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4205",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 82.623,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34711,
    "c": 0.08772,
    "h": 129.1
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#2B4205
secondary
#452082
accent
#2CFC7A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B4205

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

Preview Lab → · Contrast checker → · Palette generator →

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