#2B4105#2B4105

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

Color values

HEX#2B4105
RGBrgb(43, 65, 5)
HSLhsl(82, 86%, 14%)
HSVhsv(82, 92%, 25%)
CMYKcmyk(33.8%, 0%, 92.3%, 74.5%)
CIE-LABlab(24.66, -18.75, 30.77)
CIE-LCHlch(24.66, 36.03, 121.36°)
OKLaboklab(34.42% -0.0539 0.0674)
OKLCHoklch(34.42% 0.086 128.7)
XYZxyz(2.9140, 4.3051, 0.8210)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4105 #1B0541
analogous
#413905 #2B4105 #0D4105
triadic
#2B4105 #052B41 #41052B
tetradic
#2B4105 #054139 #1B0541 #41050D
square
#2B4105 #054139 #1B0541 #41050D
split-complementary
#2B4105 #050D41 #390541
monochromatic
#131C02 #131C02 #2B4105 #517A09 #76B30E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4105#FFFFFF#000000##FFFFFF
##2B41051.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)
#423A0B
Tritanopia (blue-blind)
#2D3E36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b4105;
/* rgb */ color: rgb(43, 65, 5);
/* oklch */ color: oklch(34.4% 0.086 128.7);
Tailwind
colors: {
  custom: {
    50: '#67754b',
    500: '#2b4105',
    950: '#000000',
  },
}
SCSS
$custom: #2b4105;
$custom-light: #67754b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4105",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 5
  },
  "hsl": {
    "h": 82,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34417,
    "c": 0.0863,
    "h": 128.7
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#2B4105
secondary
#442081
accent
#2CFC78
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2B4105

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

Preview Lab → · Contrast checker → · Palette generator →

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